Hi All, I have problem in implimenting this Edit method. When i am trying to click the check box. It never checks , still its editable...whats wrong in code....
edit NoYes markTrans(boolean set, CommissionTrans _commissionTrans, NoYes _markTrans) { if (set) { element.lock(); if (_markTrans == NoYes::Yes) { BalanceAmount += _CommissionTrans.AmountMST; } else { BalanceAmount -= _CommissionTrans.AmountMST; } element.unLock(); this.refresh(); } return _MarkTrans; } This method is in the Datasource of the form . and this is a checkbox in my grid. Thanks Akash ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/