hi sumit i tried this way by writting a code in modified method of the control but it does not work any specific reason public boolean modified() { boolean ret;
ret = super(); if(this.dateValue() > systemDateget()) { Table1_TransDate.backgroundColor(WinApi::RGB2int( 255,255, 0)); } return ret; } please comment Thanks & Regards Pradeep S.Itnal --- On Tue, 16/6/09, Sumit Loya <loya.su...@gmail.com> wrote: From: Sumit Loya <loya.su...@gmail.com> Subject: Re: [Axapta-Knowledge-Village] color To: Axapta-Knowledge-Village@yahoogroups.com Date: Tuesday, 16 June, 2009, 11:21 AM Hi, You can override the displayOption method of the data source and specify the color criteria. A sample code is below. (Written on CustTable data source of the custTable form). public void displayOption( Common _record, FormRowDisplayOptio n _options) { ; _options.affectedEl ementsByControl( Control:: CustTable_ AccountNum, CustTable_InvoiceAc count.id( )); if (_record.(fieldNum( CustTable, CustGroup)) == '10') { _options.backColor( WinApi::RGB2int( 255,255, 0)); } else { _options.backColor( WinApi::RGB2int( 123,234,255) ); } super(_record, _options); } Hope this helps! Regards, Sumit On Tue, Jun 16, 2009 at 10:37 AM, Pooja . <dyna.a...@yahoo. com> wrote: HI Guys, In my requirement, .there should be an alert(red color any thing ) on the form as soon as "date"( field) value cross the today date . How to do ..is there any thing is in existing system. Own a website.Get an unlimited package.Pay next to nothing.*Go to http://in.business.yahoo.com/