Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00662086
Message ID:
00662089
Vues:
23
>Two users posting transactions
>
>Use1 Posts a record to table A
>Goes to a differnt form that querries table A and the posted record is there.
>
>However User2 cannot see the record A just posted
>All the forms are running in private sessions, no views either. Simply Use in 0 shared.
>
>The only way User2 gets to see the record is to first close any open forms and then relaunch the form that querries table A again.
>
>What the heck is happening? I ruled out network issues because the system behaves exactly the same when launched twice on the same server.
>
>Anyone with a clue please?
>
>Thanks
>

Mathias,
What is your setting for SET REFRESH? The default is 0 which means don't refresh anything. You can also use a temporary lock to refresh your data. Do the following:
if rlock(0) then
   unlock record 0
endif
The lock will cause VFP to refresh the current cache. The unlock makes the table header availabel for others to do the same.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform