[Axapta-Knowledge-Village] Re: Ceiling function in X++

2009-05-11 Thread Tom Scott
> > --- In Axapta-Knowledge-Village@yahoogroups.com, "Tom Scott" > wrote: > > > > Hi, I was wondering if there is a "ceiling" (i.e. round up) function in > > X++. I have tried playing with the round() function but I haven't managed > > to make

[Axapta-Knowledge-Village] Ceiling function in X++

2009-05-07 Thread Tom Scott
Hi, I was wondering if there is a "ceiling" (i.e. round up) function in X++. I have tried playing with the round() function but I haven't managed to make it behave as I want it. I want to round up to the nearest integer, i.e.: a = 5.2; b = 5.5; c = 5.0; ceiling(a) = 6 ceiling(b) = 6 ceiling(c)

[Axapta-Knowledge-Village] Accessing form data source methods from design

2008-05-12 Thread Tom Scott
I would have thought this was fairly straightforward but it's got me puzzled. I want to call a method I have created in a form data source from a button click. I would have thought I just use DataSourceName.MethodName() but the method is not available. Suggestions please? Regards Tom