The message says the record is locked, but 4D’s Locked($pTable->) returns
false, and so does 4D’s Read only state($pTable->).
Under what circumstances would this happen?
Undefined Database Event.[-1] in the method 'Save_Record', on line 50.
Method: Save_Record
Line: 50
1066: dbmg: Record is locked in table Student of database CMv10
1046: dbmg: Cannot save record 132171 in table Student of database CMv10
If (Not(Locked($pTable->)) & Not(Read only state($pTable->)))
If (ModifiedRecord ($pTable;1+2;->$tModified))
Error:=0
C_TEXT($WindowTitle_t)
SAVE RECORD($pTable->) // this is line # 50
End if
else
...
end if
David Ringsmuth
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************