Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing data in form with private data session set
Message
From
11/07/2008 14:39:27
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01330654
Message ID:
01330671
Views:
22
>>>A from with a private data session and table buffer set at optimistic table buffering (5) for a table in the data environment. How can I refresh my data environment without closing and reopening the form?
>>
>>If I remember correctly, if the data is based on a view you can call the refresh() function. This is often done in a parent-child scenario, when you want to change the view to show data for another parent record.
>
>so would i have to call the data environment objects close tables and then the open tables?

You should not have to close tables, but the question was is it a Table or a View? If it is a view you can use REQUERY("ViewName"). If it is a table then the question is if it is possible that you modified this table prior to refresh?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform