Well did a bit more research and trial-and-error, and it actually is possible to filter on RecordID in NAV 2009. At least the 2009 R2. Here it is possible to filter, but not using SETRANGE. Instead you have to use SETFILTER like: SETFILTER("Record ID",FORMAT(RecID)); Also played around with the limitations of variants in 2009! Cannot use a variant directly in a parameter, must assign records to a variant variable and assign that to the function.
↧