Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a cursor as RecordSource for a grid
Message
From
22/02/1999 12:16:07
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00190017
Message ID:
00190019
Views:
16
Instead you can try not setting the grid recordsource until _after_ you've populated the cursor.

>I created a new form and added a grid with RecordSource equal to csrTemp and RecordSourceType equal to 1 - alias. Now when the form loads, the grid is empty since I have not yet populated the cursor. When I clcik on a command button, I issue a SQL statement with INTO CURSOR csrTemp and refresh the grid. If I break and look at the datasession, I see the cursor populated, but the grid does not reflect the data, why not?
>
>Kind Regards,
>
>Mat
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform