Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

String form control changes to ComboBox when selected

(0) ShareShare
ReportReport
Posted on by

In the Free text invoice form (CustFreeInvoice) there is an interesting GUI trick that I would like to completely understand and perhaps replicate.

The Number sequence group field in the Header's General tab first appears as a FormStringControl, but when it is selected for editing it transforms to a ComboBox to properly serve the corresponding foreign key field.

I guess this is happening for performance reasons, i.e. to avoid unnecessary ComboBox lookup initialization when the field is not going to be used; is that right?

I found the FormStringControl created under TabMain / TabPageDetails / TabDetails / HeaderViewTabPage / FastTab / InvoiceFastTab / GroupPosting group; but I wasn't able to locate the ComboBox definition.

Any idea on how the ComboBox control is instantiated, how this mechanism works and how to replicate it?

  • Community Member Profile Picture
    on at
    RE: String form control changes to ComboBox when selected

    Thank you both, Sukrut & Judy, I realize this is standard functionality.

  • Verified answer
    huijij Profile Picture
    19,811 on at
    RE: String form control changes to ComboBox when selected

    Hi Yiannis,

    The following blog declarate How to Add a Lookup Form to a FormStringControl:

    msdynamics.nevoitech.com/.../

    regards

  • Verified answer
    Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: String form control changes to ComboBox when selected

    The numberSequenceGroup drop down  on the free text invoice header is simply coming from EDT NumberSequneceGroupId which is defined on the field numberSequenceGroup  from custInvoiceTable.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,933 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans