Nuevo FWH 22.10
Posted: Wed Nov 02, 2022 11:57 am
www.FiveTechSoft.com
https://forums.fivetechsupport.com/
It should work.VictorCasajuana wrote:Hola Antonio, dbRollBack() funciona en entornos de red con DBF?
Enviado desde mi motorola edge 20 mediante Tapatalk
Code: Select all | Expand
? CUST->CITY
CUST->CITY := "CHANGED"
? CUST->CITY
CUST->( dbRollBack() )
? CUST->CITY
thanks for the reply.nageswaragunupudi wrote:It should work.VictorCasajuana wrote:Hola Antonio, dbRollBack() funciona en entornos de red con DBF?
Enviado desde mi motorola edge 20 mediante Tapatalk
Can you help is by testing?
E.g. customer.dbf opened with alias CUSTNote: dbRollBak() works only when the Record Pointer is not moved and DBCOMMIT() is not executed alreadyCode: Select all | Expand
? CUST->CITY CUST->CITY := "CHANGED" ? CUST->CITY CUST->( dbRollBack() ) ? CUST->CITY
Code: Select all | Expand
? CUST->CITY
CUST->CITY := "CHANGED"
? CUST->CITY
CUTS->( DbUnlock() )
// do other process...
CUST->( dbRollBack() )
? CUST->CITY
thanks for the clarification!nageswaragunupudi wrote:After doing unlock also, dbrollback does not work
Rollback works before (1) moving record pointer (2) before commit and also (3) before unlock.
This is useful for making modifications in more than one dbf and ensure that either all changes are committed or rolledback.
Please refer
https://forums.fivetechsupport.com/view ... fe#p253200
You may post further queries in that post so that all users will join.