RecordRef.GET causes INSERT error

einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
Does anyone know about a problem with RecRef.GET?
When I want to execute the following piece of code
TargetRecRef.GET("Target Record ID");
I will get an error message saying that the record already exists.
The MyTable already exists.

Identification fields and values:

Document No.='R-013385',Line No.='20000'
"Money is likewise the greatest chance and the greatest scourge of mankind."

Comments

  • garakgarak Member Posts: 3,263
    you're sure that the error comes on the get command and not on the insert command?
    Do you make it right, it works too!
  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    I know that this error message is the standard message for inserting an existing record. But the debugger breaks exactly at the GET and there is no INSERT within the function.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.