Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update confilct when saving
Message
 
 
À
02/07/2001 13:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00525962
Message ID:
00526177
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Hi!
llStatus = tableupdate(.T.,.T.,"MyTableIn5thbufferingmode",aNotUpdatedRecs)
if !llStatus
  * failed to update
  = aError(aODBCErrorsDurnigUpdating)
  set step on
  && from here, examine in the locals or watches debugging window the content of the 2 arrays 
  && created. aODBCErrorsDurnigUpdating contains the error messages. aNotUpdatedRecs
  && contains a list of the record numbers that were not updated (record number is negative for 
  && new added records). For further information, read tableupdate() function description -
  && you will find all above there.
endif
HTH.

>Hi. I have the record locking set to "5" (optimistic row) on the 2 main databases of my project...but not the other dbfs. I get the message "Update Conflict" when I am exiting the entire .exe. The status bar indicates that one of my 2 files w/ optimistic row locking is selected. The message does not allow me to gather any info on the problem. What do I do?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform