Hi,

I can't figure out what is causing an error that one of my customers are getting.
So far I have not been able to reproduce the error, but my customer is getting it every day. (however not every time).

What happends:
They try to add a row to a table via the WEB application I have created. (I've changed names of the objects and tables)
Code:
err = oMyObject.RequestSave("Table")
If err isnt 0 I'll print out theses things to the user:
err and oMyObject.call "msg_ReportAllErrors"

err returns 4 (does any one know what that means?)
and oMyObject.call "msg_ReportAllErrors" returns
Hittar inte posten
Programfel: 25 på rad: xxxx
This is Swedish, and if I translate it would be something like:
Record not found
Error: 25 on row: xxxx
If I go to row xxxx, I'll end up in DataDict.pkg in the Request_Save procedure (on the last row, Forward Send Request_Save)
Code:
Procedure Request_Save
     Integer iRval
     If (OPERATION_MODE=MODE_WAITING) Begin
         Send Update_Focus_Field // added in 12.1
         Get Validate_Save_Structure False to iRval
         If iRval Begin
            Send Data_Set_Error -1 0 DD_INVALID_SAVE_STRUCTURE iRval
            Procedure_Return
         End
     End
     Forward Send Request_Save // <--- HERE
  End_Procedure // Request_Save
My first guess was that a Recnum somehow got in to the hidden field with name="Table__Recnum"
But when I try to enter an incorrect Recnum, the error point to an other row in DataDict.pkg (Find_By_Recnum). And I get more information in the error message, saying what table and what recnum that is causing this.

Does anyone know how I reproduce the error? Or what might be causing it?


Best regards,
Fredrik