Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does the array/table exist?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725387
Message ID:
00725395
Views:
10
A table or cursor is created always regardless if query returns any result. You can use _TALLY system variable to check how many records returned by query.
SELECT * FROM mytable ;
INTO ARRAY myArra
IF _TALLY > 0 
  * Aray has been populated with records.
ENDIF
>Hi,
>
>How can I determine if the array or table has been created successfully?
>When I use the Select-SQL to create a table or an Array, how do I find out if they exist?
>
>Thanks.
>
>Ria
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform