Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select Optimisation changes under VFP8?
Message
From
03/06/2003 14:01:52
 
 
To
03/06/2003 13:48:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00795674
Message ID:
00795813
Views:
27
For example:

CREATE CURSOR Test (Field1 I NULL)
FOR lnCount = 1 TO 20
INSERT INTO Test VALUES (lnCount)
ENDFOR
INSERT INTO Test VALUES (NULL)

COUNT FOR Field1=10 AND IsEven(Field1)

FUNCTION IsEven(tnNumber)
? "Number is: " + TRANSFORM(tnNumber)
RETURN (MOD(tnNumber, 2) = 0)
ENDFUNC

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform