SETFILTER crashes FORM.RUNMODAL ...except it shouldn't!

Hi, so this is the code
ChangeLogEntry.SETCURRENTKEY("Table No.","Primary Key Field 1 Value");
ChangeLogEntry.SETFILTER(ChangeLogEntry."Table No.",'287|5050');
ChangeLogEntry.SETRANGE(ChangeLogEntry."Primary Key Field 1 Value",'5618354');

FORM.RUNMODAL(595,ChangeLogEntry);

"Table No." is an Integer field.

The '287|5050' is what causes the crash... on their own both 5050 and 287 load instantly .... and funnily enough ( and this baffles me ) even '287..5050' loads instantly. So how in the world can '287|5050' load for over an hour? Can the key be corrupt?

Best Answer

  • kenyokenyo Member Posts: 40
    Answer ✓
    Ok, i got it. It actually was the key which somehow was apparently corrupt.

Answers

  • kenyokenyo Member Posts: 40
    Answer ✓
    Ok, i got it. It actually was the key which somehow was apparently corrupt.
Sign In or Register to comment.