General information
Title:
Attempting to lock - press Esc to cancel
Experiencing some wierdness with a new app written in VFP 8. I have traced the offending line of code where I am replace a field value with datetime(). However, I am receiving the above error. I have tablevalidate set to 0 for the program and even inserted a "set tablevalidate to 0" roght before the line of code but am still getting this error.
The affected table is a free table which has been opened shared right above this code.
The code is below...
lcLw2000Dir = oApp.cAppDir
CD &lcLw2000Dir
SET TABLEVALIDATE TO 0
IF USED('armaconf')
SELECT armaconf
ELSE
USE armaconf.DBF IN 0 SHARED
SELECT armaconf
ENDIF
* The culprit line is below
REPLACE armaconf.lastbudt WITH DATETIME()
USE
Any ideas?
Wayne Frenck
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only