Versions des environnements
>>>I assume that's on the C: drive.
>>>
>>>Out of curiosity, what happens if you remove all references to temp files in config.fpw? This will cause temp files to go to the Windows temp folder.
>>>
>>>
>>>>A folder within application folder.
>>>>The application it is a single instance.
>>>>Never vfp table it is shared with other processes.
>>
>>already tried. Nothing changes.
>>The error occurs if the cursors are updated within a transaction.
>
>some fields in tables wrongly filled with chr(0) ? We came across that one with transactions and views in vfp6 and had to side-step some transactions
No. chr(0) exists on binary fields only.
it works like this:
a form downloads data from sql server,
the user writes a value:
begin tran
the program logic can generate other values
in various fields, in a deterministic way
end tran (BANG !! corrupted)
the user without closing the form reload data from sql
generating a new cursor's DBF
It rewrites the same value, and END TRAN works well.
we do want an application that resists
also to our programming errors whitout corrupt sql data.
transaction is used to catch application error and rollback local changes
Précédent
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