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

Adding ranges on Forms

$
0
0

Hi Guys,

I just need to add a range while opening a form, I am trying to do it through Init and Execute methods. Kindly let me know how I can add more records in the range. 

init method : 

VariableQBR=
this.query().dataSourceName('PBATableInstance').addRange(fieldnum(PBATableInstance,Variable));

Execute method:

VariableQBR.value(queryvalue('Test1'));

In the above, string Test1 is my variable to be displayed on the form (its working fine). How can I display variables Test1 and Test2 in the form ? how the code should be ?

Thanks in Advance 


Viewing all articles
Browse latest Browse all 72043

Trending Articles