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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

View in page

(0) ShareShare
ReportReport
Posted on by 115

Hi, friends!

If you have two select fields and want to load options in second one, based on selected option from first one then. I want to do when you choose the first option to automatically load and my second option. How to make this with c/al code. 

Example: 

4857.Untitled.png

Thank you!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    For your example you can check the logic on the customer table, the logic is simple you will have two tables one for countries which store all the countries and other table cities will have country and city as column the table for the first field will be countries table and for the second field it will have table relation with cities but on condition of first field.

    Check Item Category Code and Product Group Code on Item or Address fields on Customer, Vendor....

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

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans