Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Network:
Windows 2008 Server
>When behavior between VFP IDE and EXE that would suggest different settings to me. SET COLLATE, in particular, would be my first step to check because a) it causes different indexes to be used in the process and b) there have been a few bugs in the past in VFP where the binary conversion of just a few values was broken with another collate sequence than MACHINE.
>
>In this case, however, as the error is fully reproducible, I'd simply fire up Process Monitor from sysinternals.com and check what file VFP is looking for.
So this gets really interesting. DBF("the view") is, not surprisingly, a TMP file, but what temp file it is changes regularly. I'm guessing that each time I requery, it may change files.
The index file (testing using CDX()) starts out as the original file name with a CDX extension. But fairly late in the game (over an hour into this particular test), it suddenly changes to a temp file, and then seems to change on each (or most) requery() thereafter. The crash happens within seconds of that change, though dozens more records get processed before the failure.
Definitely bolsters the theory that there's a problem with the index file and I'm now speculating that the problem is creating the index file.
Précédent
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