Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying a grid control
Message
From
05/12/2005 08:01:53
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01074269
Message ID:
01074881
Views:
26
>Hi Jim
>
>Maybe its me being really slow, but where is the requery method you are talking about on a grid? I can gind it on a listbox but not on a grid control? Neither could I find it in the dataenviroment?
>

It's not a method of the grid. The requery function is part of the VFP language. REQUERY("v_YourView")

>
>
>>>Hi! I've recently got more into using SQL commands in my list boxes and grid controls.
>>>
>>>How do I requery the Row Source in my grid, like I do on a list box?
>>>
>>>Or should a refresh do the trick (doesnt seem to do?)
>>>
>>>Any help extremley appreciated
>>>
>>>TIA
>>
>>Robin,
>>
>>You would need to use the Requery() function to requery the view that your grid is using. You mat also need to refresh the grid itself after the requery of the view.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform