Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistent SQL results
Message
De
07/08/2003 11:05:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Inconsistent SQL results
Divers
Thread ID:
00817760
Message ID:
00817760
Vues:
55
We are running VFP6 on a WIN2K network. Our data resides on a network drive, and we have multiple users running the app that accesses the data from WIN2K and WIN98 workstations. We have a problem with SQL selects not always pulling the most recent updates. My understanding has always been that SQL gets data from disk, even if the table is open and buffered in the same work session. Yet I can bring up different results on 2 different work stations - one showing the newest added records and one missing them - after the data has definitely been saved and written to disk (I have timestamps in the records that support this). The SQL statement in question is:

select loadno,orno,batch,floor from loadfile;
where empty(mbol) and shipstatus='N';
into cursor temp

where loadfile is an alias name for an open table (loadin or loadout). I open this table at the beginning of the method and close it at the end, because each time the select is run, it could be on a different base table. Please let me know if you have any suggestions.
Thanks in advance for your help!
Deri
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform