How can i pass variables to a form with form. runmodal.

seemaseema Member Posts: 17
edited 2004-11-02 in Navision Attain
hi,

Is there any way to pass value of some variables to a form whereas I am running that form with the help of form.runmodal. We can do so with the help of formvariable.function and formvariable.run, But i specifically need this with the help of RunModal becz I want to check the LookupAction of this form.

Pls help.

Thanks and regards,
Seema

Comments

  • kinekine Member Posts: 12,562
    seema wrote:
    hi,

    Is there any way to pass value of some variables to a form whereas I am running that form with the help of form.runmodal. We can do so with the help of formvariable.function and formvariable.run, But i specifically need this with the help of RunModal becz I want to check the LookupAction of this form.

    Pls help.

    Thanks and regards,
    Seema

    use
    .
    .
    .
    formvariable.LOOKUPMODE := true;
    if formvariable.RUNMODAL = Action::LookupOK then
    .
    .
    .
    
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • seemaseema Member Posts: 17
    Thanks Kine,
    I tried it, it worked.

    Thanks and regards,
    Seema
Sign In or Register to comment.