Hi, Thanks for ur reply. It is not working despite calling refresh on datasource. Actually I am checking the checkbox in Form canclose() method. When the form is closing I check some validation if validation is fine then I want to check the checkbox, otherwise remain uncheck. Plz let me know how to do this.
Regards. Syed baber On Tue, Jun 10, 2008 at 4:18 PM, Max Belugin <[EMAIL PROTECTED]> wrote: > try to call refresh on the formDataSource after the field change > > > On Mon, Jun 9, 2008 at 12:10 PM, syed baber <[EMAIL > PROTECTED]<syed.nedian%40gmail.com>> > wrote: > > Hi All, > > > > I have a problem regarding checking checkbox in Axapta through X++ code. > On > > some conditions I want to check the checkbox. For this I am writing the > > following code > > > > projFund.Check=NoYes::Yes; > > > > where projFund is the table buffer. > > Check is the enum type field and enumtype is assigned NoYes Enum. > > Now What is the problem with the code. Plz let me know is it the right > way > > to check the checkbox? or is there any other way to do this. > > > > Regards. > > > > Syed Baber. > > > > > > [Non-text portions of this message have been removed] > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > > > > -- > Max Belugin, http://belugin.info , ICQ:9406811, MSN: [EMAIL > PROTECTED]<belugin%40mail.ru> > > > [Non-text portions of this message have been removed]

