set parameter to form.....

vijay_gvijay_g Member Posts: 884
hi everybody,
i am trying to set parameter(Record type) to form being called from the another form but when i write like this
FORM.RUNMODAL(0,Recvar) = action::lookup ok then begin
statement1...
statement2...
end;
i am not able to set..
but if i try
formVar.runmodal;
then i am able to set parameter. what's reason can be?

the form has ok and cancel button.

Answers

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    Said in a simplified way: When you call FORM.RUN the system processes your form. When you call MyForm.RUN your specific program part processes the form and thus you will have an instance of the form in memory that you can control.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'General Chat' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.