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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

To pass the value from table field to another formstringcontrol

(0) ShareShare
ReportReport
Posted on by 1,836
i need to pass the value from the table field to the form stringcontrol , can anyone help me on this how can i pass , if i select the field on cust parameter then the value should be pass to form string control.
 
 
thanks,
Regards,
Dinesh
I have the same question (0)
  • Dineshkarlekar Profile Picture
    1,836 on at
    here is my dialogue form , and the name formstringcontrol is below that where i want to pass the value of from cust parameter field should i use init  method ,

  • Martin Dráb Profile Picture
    238,787 Most Valuable Professional on at
    Getting a setting dialog field values is simple - there is value() method for that.
     
    But you'll need two more important parts:
     
    1) You need to be able to run code when journal name value changes. Use registerOverrideMethod() to use your own override of modified() method. How exactly you should do it depends on how you create the dialog (which you didn't mention).
    2) You want a description, but the first controls contains a journal name. You'll need to find the journal name record and take a description from there.
  • Dineshkarlekar Profile Picture
    1,836 on at
    hi ,
    martin ,
    thanks, for reply ,
    there is slight change in requirement .
    my form type is dialogue basic , and the form string control is non editable on dialog , i have put the field in cust parameter form , so if i select the value of journal name from the parameter in cust parameter from the value should flow when my dialoue opens into form string control "JournalName" . please can you guide me on this .
     
     
     
    thanks,
    Regards,
    Dinesh
  • Martin Dráb Profile Picture
    238,787 Most Valuable Professional on at
    You seem to be saying that you need no lookup, no code or modification etc., you'll just have one or two (please clarify) dialog fields that you want to set a value to. Is that correct.
     
    It's not clear to me what you mean by "dialog basic". If you created DialogField object on your own, I already told you how to set the value: use the value() method. If it's a SysOperation dialog, set the value in the contract class.
     
    If you have a question, please write it down. There is none in your reply.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,073 Super User 2026 Season 1 on at
     
    Do you want to set string control value when you open the dialog based on the Cust Parameter form? Can you share more details about your code and requirements?
     
     
    Thanks,
    Waed Ayyad
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    Assuming control not bound to a datasource, get the control in init method of form and in the text method pass the value from parameter.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans