Options

to pass record to form

Despite many years of programming in NAV2009 I cannot get the grasp of this.
When opening the form "FormMailCustomer" it simply has forgotten all about the XXCustomer (blank). How to pass on the information to XXCustomer defined also in form as a global var.? Any help/suggestions would be appreciated.
The code below is a function in form customerlist


XXCustomer.COPY(Rec);
CurrForm.SETSELECTIONFILTER(XXCustomer);
IF NOT XXCustomer.MARKEDONLY THEN
XXCustomer.COPY(Rec);
FormMailCustomer.SETTABLEVIEW(XXCustomer);
FormMailCustomer.RUN;

Best Answer

Answers

Sign In or Register to comment.