Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for existing array
Message
 
 
To
15/01/2003 17:19:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00742136
Message ID:
00742139
Views:
20
You can check _TALLY variable
SELECT ... INTO ARRAY ...
IF _TALLY = 0
  * No records returned - no array created
>I'm selecting into an array
>" sele x into thearray"
>if no results then no array.
>I'm using type("thearray") = "C" to see if "thearray" variable exists.
>
>is there a safer way, without requerying for a count?
>
>Thank You
>Miles
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform