Look Up

hello everyone

i am New in NAV my Problem is i am Newly created Indent Document form In That FORM has Menu Item is FUNCTION in Menu Item i have Created Function I.e Create Quote

When I Click On That FUNCTION the Vendor List open and I selected any one Vendor the Quotes Creted To That Vendor

But here i am Not Selected Any Vendor Just i am ESC Button in KeyBoard the Quotes Can Be Creted

my Create Quote Codeing is

VendorList.LOOkupMOde(TRUE);

if VendorList.RUNMODAL := ACTION :: LOOKUP begIn

VendorList.SETSELECTION(vendor);

please Try This

I believe you want LOOKUPOK instead of LOOKUP.