SELECT SUM(CASE PaperSize WHEN 'Letter' THEN TotalCount ELSE 0 END) AS PaperSize,
SUM(CASE PaperSize WHEN 'Letter' THEN 0 ELSE TotalCount END) AS NoPaperSize
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
When you increment the field by + 1
REPLACE YourField WITH INT(YourField+1)
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
Another simple solution:
CREATE CURSOR crsTest (F1 M)
INSERT INTO crsTest VALUES (FILETOSTR(GETFILE([txt])))
WAIT WINDOW [Number of lines: ] + TRANSFORM(MEMLINES(crsTest.F1))
USE IN crsTest
Testing displays the presence, not the absence of bugs.
If a software application has to be designed...
Yes.
Take a look at images, adding to forms in VFP Help.
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
Try this
exec master..xp_msver
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
TEXT TO lcSql TEXTMERGE NOSHOW PRETEXT 15
IF object_id('MyTable') IS NOT NULL
/* table exists in a SQL Server database */
ALTER TABLE dbo.MyTable ADD newCol nchar(10) NULL
ELSE
CREATE TABLE [dbo].[MyTable](
[Id] [smallint] IDENTITY(1,1) NOT NULL...
...loCIMV2 = GetObject("winmgmts://localhost/root/cimv2")
GetObject("winmgmts://localhost/root/cimv2")
loProcesses = loCIMV2.ExecQuery("SELECT * FROM Win32_LogicalMemoryConfiguration")
IF loProcesses.Count > 0
For Each objProcess in loProcesses
? "Total Physical Memory, in bytes: "...
Other way ;~)
#define CRLF CHR(13)+CHR(10)
LOCAL lcVar
lcSaveFile = PUTFILE("where to save")
IF EMPTY(lcSaveFile)
MESSAGEBOX("No File selected ?")
RETURN
ENDIF
SCAN
IF yourcondition = .t.
lcVar = TRANSFORM(RECNO())+[;]+YourFld1+[;]+YourFld2+CRLF...
Visual FoxPro cannot update the specified cursor because it is read-only. This can occur when attempting to write to a file created or accessed for read-only purposes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.