Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Base Grid on Cursor -- Any problems? Any Tricks?
Message
From
14/01/2000 16:11:10
 
 
To
12/01/2000 19:45:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00317290
Message ID:
00318357
Views:
27
>If you create a cursor in the Form.Load event, it will be available when the grid instanciates. I do this all the time, and retain grid property settings. Just remember to blank out the recordsource before recreating the cursor on the fly, and set it back afterwards.

Thanks. I did just this way and my grid is working well.

One other question: anyway to pass the cursor to the main app where I have a method to do a batch update in DS 1? I tried passing DBF("curUHSTAT") and when I tried to open it in the goApp method it said that the table was being used exclusively (which make sense).

If I can't pass it as a cursor I'll convert it to an array and pass that.

Peter
Peter Robinson ** Rodes Design ** Virginia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform