result of select command into combox in ax

Solution (Not Verified) This post has 0 verified solutions | 1,740 Views | 8 Replies | 3 Followers

Male
146 Posts
1,334 Points
Joined: 2012-7-24
Last Online:
2014-8-30 10:03
Location: Esfahan Iran
jalal Montazeri posted on 2012-12-5 11:11 rated by 0 users

hi all,

I have a combo box and i want to write a select command and fill data to combo box

please guidance me

thanks

All Replies

Male
3,926 Posts
75,170 Points
Joined: 2007-11-12
Last Online:
2016-2-4 14:42
Location: Hyderabad - India
DynamicsMVP

Please elaborate your requirement

No Pain, No Gain

  • | Post Points: 6
298 Posts
3,293 Points
Joined: 2011-7-29
Last Online:
2014-6-26 13:42
Location: Banglore, India

Hi,

 

  Kindly give the detailed info .. Here is one example with what i have understood on ur query.

 

 

  Select forupdate yourtable where ( give the req condition);

yourtable.combofield = yourtableenumtyp::selection;

yourtable.update();

Thats al....

 

Thanks and regrads,

Kevin

  • | Post Points: 5
Male
264 Posts
1,736 Points
Joined: 2005-3-23
Last Online:
2012-12-17 0:03
Location: Copenhagen, Denmark

Why do you specifically want it to be a combo box and not a standard lookup?

SysTableLookup class could display something based on a query

Global::pickList() is an example of showing a list of elements in a different way, which can give you another perspective.

Male
146 Posts
1,334 Points
Joined: 2012-7-24
Last Online:
2014-8-30 10:03
Location: Esfahan Iran

THANKS ALL,

i want to click button and filter combobox automatically

for example with click just select number  assement_id==2

 

  • | Post Points: 5
Male
146 Posts
1,334 Points
Joined: 2012-7-24
Last Online:
2014-8-30 10:03
Location: Esfahan Iran

THANKS ALL,

i want to click button and filter combobox automatically

for example with click just select number  assem

 

 

  • | Post Points: 6
Male
264 Posts
1,736 Points
Joined: 2005-3-23
Last Online:
2012-12-17 0:03
Location: Copenhagen, Denmark

Then it's not really a combo box in AX terms. just a normal lookup

and that's why you should look for example of using SysTableLookup class

  • | Post Points: 6
Male
146 Posts
1,334 Points
Joined: 2012-7-24
Last Online:
2014-8-30 10:03
Location: Esfahan Iran

hi kashpeuk

thanks for guidance

i have two sys table lookup i want when a lookup change text other lookup filter whit selected lookup value

like this :

  • | Post Points: 6
Male
373 Posts
6,991 Points
Joined: 2010-8-23
Last Online:
2015-9-3 10:20
Location: Bangalore,India

Hello JM,

In the second lookup method, pass the value of the first control value in the queryBuildRange.So it filters the records based on the first control.
let say, in the 2nd control of the lookup method
qbr.value('Pass the first control<Assement_id>).

  • | Post Points: 5
Page 1 of 1 (9 items) | Get this RSS feed