Hi Peter,

think about queries. The QueryBuildRange.value() method also takes a query string.
Queries allow to create select statements in an object oriented and dynamic way.

Regards

Matthais



Von: christuerk [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 17. Dezember 2004 16:30
An: [email protected]
Betreff: [development-axapta] how can i create where-condition dynamic


Hello all,

how can i create a dynamic select, e.g.

select firstonly table
where field1 == value1 &&
      field2 == value2 &&
      (dynamic condition)

the dynamic condition can be
       field3 == string1 ||
       field3 == string2 ||
       .....

the string(n) values depend on an resultset of another select.









Yahoo! Groups Sponsor


ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=12994aq13/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1103384766/A=2128215/R=0/SIG=10
se96mf6/*http:/companion.yahoo.com> click here

  <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=826106023>

  _____ 

Yahoo! Groups Links
*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 
*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
 
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .


[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to