Hi,
I have created a stringedit field in the form with is not bound to a datasource .
Now what I want is o know how to call the these controls in class.
Please advice
*This post is locked for comments
I have the same question (0)

Hi,
I have created a stringedit field in the form with is not bound to a datasource .
Now what I want is o know how to call the these controls in class.
Please advice
*This post is locked for comments
I have the same question (0)Set property AutoDeclaration to Yes on the controls. Now you can refer to the controls from the form's x++ code simply with their names.
If you need to reach them from a class, add get-methods for the controls in your form. Then if you have your form (FormRun) in variable of type Object in your class, you can call the get methods. But there is no compile time check if such methods exist on your form, so check your code carefully to avoid runtime errors. Please see this discussion for more details: [View:https://dynamicsuser.net/ax/f/technical/52366/calling-form-parm-methods-in-class]