I haven't looked into more detailed generation of X++ code, but perhaps, you can use runbuf() function. Look at the following to get inspiration to build and run X++ code on the fly.

static void runbufTest(Args _args)
{
   str myjob = "int add3(int i){ return i+3;}";
   int i;
   ;
   for (i=1;i<10;i++)
       info( runbuf(myjob,i));
}

// Result:
Info      Message (21:33:37)      4
Info      Message (21:33:37)      5
Info      Message (21:33:37)      6
Info      Message (21:33:37)      7
Info      Message (21:33:37)      8
Info      Message (21:33:37)      9
Info      Message (21:33:37)      10
Info      Message (21:33:37)      11
Info      Message (21:33:37)      12

:-)

From: Claudia Göries <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: expression builder
Date: Mon, 01 Dec 2003 11:21:51 -0000

You can access it from Administration - periodic - Data
export/import  - Definition Groups - Table Setup - Field Setup, if
your type of definition group is "Custom".


--- In [EMAIL PROTECTED], "Agus Riyadi" <[EMAIL PROTECTED]> wrote: > Opening the form SysExpImplFields directly causing this error message > > Form "SysExpImplFields" requires an active buffer. > > From where should I call this form? > > Thanks > > -----Original Message----- > From: Groß [mailto:[EMAIL PROTECTED] > Sent: Monday, December 01, 2003 3:54 PM > To: [EMAIL PROTECTED] > Subject: AW: [development-axapta] expression builder > > hi there, > > there exist something like that in axapta – it's called X++ editor….:-) > or > be inspired on form "SysExpImpFields", tabpage control labled "X++ > Source Code" > > regards > wolfgang > > -----Ursprüngliche Nachricht----- > Von: Agus Riyadi [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 1. Dezember 2003 03:35 > An: [EMAIL PROTECTED] > Betreff: [development-axapta] expression builder > > > > Hi All, > > Is there any such expression builder in axapta? > I want to create a stringedit where user can type any legal x++ > constructs and operators, user can choose any fields from any tables to > be included, then axapta execute anything written in the stringedit as > far as the syntax is ok. > > Thank you in advance > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > <http://docs.yahoo.com/info/terms/> Service. > > > > > Yahoo! Groups Sponsor > > > ADVERTISEMENT > > <http://rd.yahoo.com/SIG=12ccjt3vl/M=267637.4116732.5333197.1261774/D= eg > roupweb/S=1705006764:HM/EXP=1070355253/A=1853618/R=0/*http:/www.netfli x. > com/Default?mqso=60178338&partid=4116732> click here > > > <http://us.adserver.yahoo.com/l? M=267637.4116732.5333197.1261774/D=egrou > pmail/S=:HM/A=1853618/rand=105872074> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/> .


_________________________________________________________________ Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/



Yahoo! Groups Sponsor

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to