Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I determine if a cursor was created?
Message
 
 
To
10/10/2001 23:13:57
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00566770
Message ID:
00566772
Views:
15
>I have a routine that uses a SELECT to create a cursor. If the cursor isn't created because the source file was missing, it is causing my GRID with recordsource/controlsource set to the cursor elements to fail. Can I put something in the GRID.INIT or GRID.LOAD to abort the grid if the cursor wasn't created?
IF USED("mycursor")
  * Cursor created
ELSE
  * Nope
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform