barno
Programmer
- May 27, 2002
- 10
I'm experiencing record loss randomly in Fox 2.6 application running under Win 2000 network
This is the section of the Code where the record is being lost
SELECT 2
IF <condition>
*save debit record
APPEND BLANK
IF LOCK()
<replacement is done>
UNLOCK
ENDIF
*save credit record
APPEND BLANK
IF LOCK()
<replacement is done>
UNLOCK
ENDIF
ENDIF
The record is usualy lost in the second section of saving ie. its not even appending blank thus the record is not saved.
This is not always but mostly one record is lost in a day. and most of the times it saves.
My question is What causes this ? and is there an alternative code that ican use to eliminate this problem?
Could also this be a hardware problem?
This is the section of the Code where the record is being lost
SELECT 2
IF <condition>
*save debit record
APPEND BLANK
IF LOCK()
<replacement is done>
UNLOCK
ENDIF
*save credit record
APPEND BLANK
IF LOCK()
<replacement is done>
UNLOCK
ENDIF
ENDIF
The record is usualy lost in the second section of saving ie. its not even appending blank thus the record is not saved.
This is not always but mostly one record is lost in a day. and most of the times it saves.
My question is What causes this ? and is there an alternative code that ican use to eliminate this problem?
Could also this be a hardware problem?