OnLookup

Kc_NirvanaKc_Nirvana Member Posts: 146
Hello.
I have tried to search in the forum but all the answers i found doesn't do what i want.
I want to in the lookup of a field when it goes to the form of the lookup goes to the record that the field has.
Example:

Field No. - 191
When i lookup to the item list the record positionates in the record that has the no. 191
Can someone help?
Thanks
Junior Consultant & Developer in Dynamics NAV

"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"

Nirvana - Nevermind - Smells Like Teen Spirit

Answers

  • garakgarak Member Posts: 3,263
    u mean following?

    Select the record in table xyz where the Value of a defined field like the fieldNo(FromTheLookedupField) :?:
    Do you make it right, it works too!
  • vijay_gvijay_g Member Posts: 884
    take a variable type form and look at function SETRECORD.
    lookup form by writing code on onlookup trigger.
  • SunsetSunset Member Posts: 201
    OnLookup

    Item.Get('Yourvalue');
    Form.runmodal(0,Item);
    Don't just take my word for it, test it yourself
  • Kc_NirvanaKc_Nirvana Member Posts: 146
    Sunset wrote:
    OnLookup

    Item.Get('Yourvalue');
    Form.runmodal(0,Item);
    It worked.....
    Muito Obrigado or in english Thank you very much.....
    Junior Consultant & Developer in Dynamics NAV

    "I'm worse at what I do best
    And for this gift I feel blessed
    Our little group has always been
    And always will until the end"

    Nirvana - Nevermind - Smells Like Teen Spirit
Sign In or Register to comment.