Hmm this came to me as a little hard task.
What would be the proper way to print a report that uses different table than the current form you are in?
The report should still have to be sorted with the "No." of the current form. The Rec's dont mach on the tables but the number does. :?
K.S.
0
Answers
then do:
recb.RESETT;
recB.SETCURRENTKEY(the key you want);
recB.SETRANGE("No.","No."); 'Or whatever the fields are...
..
...
..
and then either REPORT.RUN(recB...) or declare a variable for the report and pass the record and then run it......
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!