General information
Category:
Forms & Form designer
In VFP 3.0, you must call Requery() using the following syntax
=Requery([Optional alias name here])
x=Requery([Optional alias name here])
(REQUERY( ) returns 1 if the data is successfully retrieved; otherwise, it returns 0.)
>Jim,
>
>Thanks for the info! Took me a while to get back to this. The only problem I'm having now is that I'm using VFP 3.0, and the Requery() function, as defined in the language reference and in help, is not being recognized. I keep getting an "Unrecognized command verb" error. I've also tried Rquery() as you wrote in your response. Got any idea about this?
>
>
>-Mike
>
>>Mike,
>>
>>Create a view for the recodsource for your grid. Then put the view in the >data environment of the form, set the recordsourcetype to Alias and the >recordsource to the view's alias. When you need to refresh teh view with new >data, Rquery("TheView") and the grid will refresh with new data.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only