When I am using RecordID in some table, I have second field of type text where I save same value. When I need to filter, I am setting the filter over this text field...
I have recently tested this with the new 5.0 (beta) client and noticed that it is possible to filter on record id's in 5.0:
RecLink.SETCURRENTKEY("Record ID");
RecLink.SETFILTER("Record ID",FORMAT(Record.RECORDID));
IF RecLink.FINDSET THEN
REPEAT
MESSAGE(FORMAT(RecLink."Record ID"))
UNTIL RecLink.NEXT=0;
Connectivity Studio for Microsoft Dynamics NAV - Where Microsoft Dynamics NAV meets the world
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RecLink.SETFILTER("Record ID",FORMAT(prec."Record ID"));
The Format is essential, no other way of filtering (except flowfield in the table using a recordid field) will work.
grtz.