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:
00365253
Views:
45
>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.

Thanks for the note. Since this cursor is only for this grid, it only has the fields that are needed for the grid. So it will not be a problem (this time.)
____________________________________________

Norm Peterson

It's a dog eat dog world out there,
and I'm wear'n milk bone underware!
Previous
Reply
Map
View

Click here to load this message in the networking platform