Debugger shows record already exists error on .COUNT

EvREvR Member Posts: 178
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?

Best Answer

Answers

  • EvREvR Member Posts: 178
    Thanks. Found it (outside the function somewhere).
Sign In or Register to comment.