Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Finding Values from a form control Outside Forms

$
0
0

definitely you can get value of controls, if you are able to get controls name

But the challenging factor can be control types, as value can differ with control Types.

Getting control names is easy because its just ContolName.Id()

you can get values of majority of controls as under

info("Value of control: "+any2str(element.control(formBuildControl.id()).valueStr()));

further if you want to make it more sophisticated, you have identify control types an then write a switch statement to convert control value to display it appropriately


Viewing all articles
Browse latest Browse all 175888

Trending Articles