Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Data inserted in one session cannot be found in another
Hi all,
I open a modeless form twice. Both using private data sessions accessing doing the same transaction entry. When form A saved a new record, form b can't locate the new record inserted by form A. I'm using transactions and tableupdates and local views for data entry.
However, if I exit form B and restart the form again, the record can be found.
Set refresh is set to 1,1 and I'm not using browse, just textboxes and grid for the form to display the one to many child records.
Also in the saving method, after the end transaction command, I actually do a locate and go bott to move the record pointer.
In the search button, I'll select the parent table, do a locate and go bottom to move the record pointer before searching for the record.
Anything I missed out?
Using VFP6SP5 on WinXP,2k environment.
Yau
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement