Re: [Axapta-Knowledge-Village] Mathmatical Expression in ax

2009-03-03 Thread Luis Martinez
Hi... Try to make a function whithin Global class, that can be called from anywhere in Axapta. or make a class, then create a static method that performs the operation and return your value... if a,b,c... etc are fields of your table, try make a method in that table, and when you have a record av

Re: [Axapta-Knowledge-Village] Mathmatical Expression in ax

2009-03-03 Thread Agus Riyadi
Hi, You can use runbuf function. Regards, Agus On Wed, Mar 4, 2009 at 12:50 PM, Sumit Loya wrote: > Hi, > > You can create a method in Global class where it evaluates your expression > and pass all the variable values as parameters... > > This way you can call this method anywhere in the a

Re: [Axapta-Knowledge-Village] Mathmatical Expression in ax

2009-03-03 Thread Sumit Loya
Hi, You can create a method in Global class where it evaluates your expression and pass all the variable values as parameters... This way you can call this method anywhere in the application to get the value you desire... I hope this is what you are trying to achieve.. Regards, Sumit On Tue, M

[Axapta-Knowledge-Village] Mathmatical Expression in ax

2009-03-03 Thread naveed ali
Hi,       I have mathmatical expression like  a+b(c/d)/(d*e).      My problem is how to save it in database table and reterive to perform some mathmatical operation.All these varaibles have some fixed values which is stroed in another table.      Any help regardig this.     R