Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does anybody know what the REFRESH() function is useful
Message
From
31/03/2004 08:33:57
 
 
To
30/03/2004 19:35:10
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00891049
Message ID:
00891135
Views:
23

Hi friends!

I have a question that I've had for some time now. And always forget to ask:
Does anybody know what the REFRESH() function is useful for? I mean the Refresh() function not the Refresh() method.
I think the help file is not very clear at explaining what it really does.
At first it is something like the REQUERY() function but not at all.
Can anybody explain it in a more clear fashion?


With REFRESH you can requery only current record or a range around the running record.

A simple example:
- put a RV into a grid with 10 visible rows
- on Column1.DynamicFontShadow = "EMPTY(REFRESH(10,10,m.this.Recordsource))"
You can have a automatic refresh for the backend data,
without a big impact even if reccount(m.this.Recordsource)>100000.

Other examples:
- monitor of shared dynamic data,
- check when remote rows locked are unlocked
- write a shared data area for intraclient communications.
- refresh a VFP cache database for the backend database
- Etc....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform