Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor in a grid
Message
From
06/03/2007 13:00:39
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01201093
Message ID:
01201136
Views:
28
>>>For design-time see
>>>Re: Changing grid's RowSource in Design-time Thread #674623 Message #674846
>>>
>>>And I just found that I forgot to add attribution in my code and was trying to find this thread by different name. Shame on me.
>>>
>>>For run-time I either use safe select approach or CA with CursorRefresh()
>>
>>Thanks, Naomi, but there;'s a simpler soln. I'm after
>
>What can be simpler than zapping a cursor and appending into it from the temp one?

This:

thisform.grid.recordsource = ""

* Create new cursor...

thisform.grid.recordsource = cursor
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform