Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on Array
Message
 
To
26/08/2013 16:08:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01581462
Message ID:
01581466
Views:
37
SELECT TOP 2 posR FROM PageTwo ORDER BY posR DESC INTO ARRAY Maxrows
nfisrtposR=IIF(ALEN(Maxrows, 1) > 0, Maxrows(1), NULL) && NULL or whatever value you want when the value is missing
nSecondposR=IIF(ALEN(Maxrows, 1) > 1, Maxrows(2), NULL)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform