web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to add a lookup form and bind a control to it?

(0) ShareShare
ReportReport
Posted on by

Hi

I have used the following instruction to add a lookup form and bind a control to it.

I just cant see where the last 2 methods configureCustomerLookUp(FormStringControl stringControl) and private void CustomerLookUp(FormStringControl stringControl) are located.

https://community.dynamics.com/ax/b/alirazatechblog/archive/2014/08/27/how-to-use-ax-form-as-lookup-in-dynamics-ax-2012

Are they on the form that calls the lookup form?

Kind regards

Mahyar

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Just overwrite the lookup() method of your control and put the code of the CustomerLookUp() method from the example there.

  • Community Member Profile Picture
    on at

    Hi Jens

    thanks for your help.

  • Mark Kopan Profile Picture
    245 on at

    How would you perform a similar action on SalesTable Form DS:SalesLine.ExternalItemId LookUp method. CustVendExternalItem has been modified for Steel Industry client. Combination of Customer, ExternalItemId , InventDim and  Revision Number. Need it to return ExternalItemID to salesLine grid as well as the RevisionNumber and InventDim. Customer may have Same ExternalItemID with n.* Revision Nums. Using custom lookup form utilizing args and FormStringControl, and FormRun for the call. how to return more than 1 field and update SalesLine.ExternalItem and Sl.RevNum when closeSelect fires?  thanks in advance

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans