Hi all,
My debugger is throwing a record already exists exception, but in a very strange point in the code.
(Function in table)
MyRecWithFilters.SETRANGE("Filter Field",TRUE);
"My Field" := MyRecWithFilters.COUNT > 0;
The COUNT line crashes with a record already exists error.
Is this just a bug in the debugger that is leading me on? If so, any suggestions on how to pinpoint the real error location?
0
Answers
EDIT: the "bad insert" (with the same PK) probably lies in the "(Function in table)"
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog