I asked a question in Gemini about how to create a multiple data and multi user procedur |
DbBeginTransaction()
, DbCommitTransaction()
, and DbRollbackTransaction()
are part of the RDD API. While DBFCDX
fully supports them, not all RDDs (especially older or simpler ones) might implement full transactional capabilities. For DBF files, DBFCDX
is the standard and recommended RDD for this.DbBeginTransaction()
does not acquire locks automatically. You still need to use DbRLock()
or DbFLock()
on the specific records or files you are modifying within the transaction. However, DbCommitTransaction()
and DbRollbackTransaction()
will release all locks that were acquired during the transaction--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CAOFG7F2XCkt%3Do%3DkGnXTthx7jc5OO%2B1b5YO33ELVyu_XGrR94zg%40mail.gmail.com.
that's
why i asked in the group Thanks for attention and your feedback |
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CADPHLr8YwtDyR6vtLMXH3GiZQZHTNz21aajxQobf5G7DJRk-5w%40mail.gmail.com.
I have a vague remembering, maybe this is Alaska++ or some SQL RDD. Not part of core Harbour, and no, DBFCDX AFAIK has no rollback or transactions.
I know I have read about transactions in xBase, or something
similar, somewhere, sometimes, but can't find the right neuron
right now :-)
Dan
Buen día
Con SQLRDD para HARBOUR
se utiliza de esta forma en producción
Try
SR_BeginTransaction()
GRABA_NOTA()
SR_CommitTransaction()
SR_EndTransaction()
Catch oError
SR_RollBackTransaction()
PLSWAIT(.T.,"Hubo un error al grabar la nota ..")
Inkey(3)
PLSWAIT(.F.)
End Catch
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/3c721701-60f4-4101-9000-7c746340387c%40tiscalinet.it.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a63c188e-ffd2-4b4a-9735-b9129bbe7bddn%40googlegroups.com.
Another alternative is SQLRDD for Harbour
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/29d2be65-364d-45d9-b189-073a7e9d5c46n%40googlegroups.com.