Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Headings when SQL - Select into Cursor 'refreshes'
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00364968
Message ID:
00365233
Views:
27
Hi Norm,

>>Have you tried setting the RecordSource to an empty string ("") before you reset the cursor.
>>
>>thisform.oGrid.RecordSource = ""
>>*re query you cursor
>>thisform.oGrid.RecordSource = "cursoralias"
>

Be aware that the ControlSource fields of each column will be reset when you do this. If your columns match the cursor columns, no problem. However, if you rearranged them or skipped any, you will have to save/restore the ControlSources.
Bill Armbrecht
VFP MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform