Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing data in form with private data session set
Message
De
11/07/2008 14:39:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01330654
Message ID:
01330671
Vues:
21
>>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform