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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Further process lookup selection

(0) ShareShare
ReportReport
Posted on by 68

Hello all,

I want to save selected data from a lookup into a variable. How can I do this?

Many greetings

I have the same question (0)
  • GirishS Profile Picture
    27,829 Moderator on at

    Hi Eaven,

    Can you elaborate more?

    what functionality you are trying to achieve?

    Thanks,

    Girish S.

  • EavenCS Profile Picture
    68 on at

    I would like to process the selected data from the lookup.

  • Suggested answer
    GirishS Profile Picture
    27,829 Moderator on at

    You can access the selected data from the lookup within the form only or you can add a select statement to get the lookup value if that lookup value is stored in the table.

    If it is within the form and if the control is bound to DataSource you can use DataSourceName.Field name.

    If it's an unbound control, you can use ControlName.ValueStr().

    Thanks,

    Girish S.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Eaven, is this lookup control in a form or created in Dialog class. We can help if you provide more details.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 441 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 346 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans