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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Create dynamic DropDown

(0) ShareShare
ReportReport
Posted on by
Hi
 
I would like to create a dropdown menu where I can select addresses.
Only addresses that have been entered for the customer should be displayed. This means a customer can have one or more addresses.

Currently, the following is in place. 
The address designation is declared as an option (home address, billing address, mailing address, secondary address) in my table field and is stored in the database as a number in my customer table along with various customer details.
There is also a CustomerAddress table where the corresponding option is stored as a number, along with the address details.
I select a customer from a list and am taken to the Customer page. From there, I call up another page via an action. Before doing so, I call the SetParameter procedure of the second page and pass the customer’s record as a parameter. 
 
Now I have two scenarios. 
The first one displays a list of customer addresses in the dropdown, but I always get a message saying, “Your change may update related records, which may take a while. Do you want to continue?” when I select an address from the list. 
This message is annoying and irrelevant, since I fill in additional text fields with the address data when selecting the address. 
These fields are only displayed and are not edited or saved. I am working with SourceTableTemporary and a TableRelation named CustomerAddress.
 
Scenario two is that I try to get by without a SourceTable on the page, but that doesn’t work properly—the dropdown is always empty.
 
Is my plan even possible, or do I need to take a different approach?
 
I am new to programming. I would appreciate any suggestions.
 
Thank you.
 
I have the same question (0)
  • Suggested answer
    Ben Baxter Profile Picture
    6,871 Super User 2026 Season 1 on at
    It sounds like you programmed something that already exists in the base software.  Ship-To Addresses exist for the purpose you are describing.  You could have just added the Property Type (Home, Business, Mailing, etc.) as an option field on that table.
     
    I would recommend you scrap what you have so far and utilize the base Ship-To functionality.  It will be a faster and cleaner change than trying to troubleshoot your custom table connection.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,744 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,068 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 596 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans