Hello All,
I have a app which is runung with a MSSQL backend but when I tired to insert a record following the tagging example I keeping getting this error if I quickly tag about 10 records but if I do it slowing then I don't get any error but when I untag the record, I always get error 33 but it does remove the record in the backend.
Below is the code for the tagging and untagging of the record. And attached is a pic of error message.
Please can anyone help?
TagThisRecord PROCEDURE
CODE
Tag:MyfileId = Emp:Id
Tag:SessionId = p_web.SessionId
if access:Tagged.Fetch(Tag:TagKey) = 0
Tag:Tagged = Choose(p_web.GetValue('value') = 1,true,false)
access:Tagged.DeleteRecord(0)
p_web._trace('record Deleted')
else
Tag:SessionId = p_web.SessionId
Tag:MyfileId = Emp:Id
Tag:Tagged = Choose(p_web.GetValue('value') = 1,true,false)
Access:Tagged.Insert()
p_web._trace('record inserted')
end
[attachment deleted by admin]