Hola Antonio, dbRollBack() funciona en entornos de red con DBF?
Enviado desde mi motorola edge 20 mediante Tapatalk
Hola Antonio, dbRollBack() funciona en entornos de red con DBF?
Enviado desde mi motorola edge 20 mediante Tapatalk
VictorCasajuana wrote:Hola Antonio, dbRollBack() funciona en entornos de red con DBF?It should work.
Enviado desde mi motorola edge 20 mediante Tapatalk
? CUST->CITY
CUST->CITY := "CHANGED"
? CUST->CITY
CUST->( dbRollBack() )
? CUST->CITYnageswaragunupudi wrote:thanks for the reply.Hola Antonio, dbRollBack() funciona en entornos de red con DBF?It should work.
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 already? CUST->CITY CUST->CITY := "CHANGED" ? CUST->CITY CUST->( dbRollBack() ) ? CUST->CITY
? CUST->CITY
CUST->CITY := "CHANGED"
? CUST->CITY
CUTS->( DbUnlock() ) Â
// do other process...
CUST->( dbRollBack() )
? CUST->CITYnageswaragunupudi wrote:After doing unlock also, dbrollback does not workthanks for the clarification!
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/viewtopic.php?f=3&t=42174&p=253200&hilit=dbrollback&sid=e912045ef71b285d5d2193725aa93ffe#p253200
You may post further queries in that post so that all users will join.