|
|
Re: how a user do not put date greater than today in date field [message #311730 is a reply to message #311629] |
Sun, 06 April 2008 03:36 |
gajendra
Messages: 8 Registered: April 2008 Location: INDORE
|
Junior Member |
|
|
there is a date field which is a bill recieve date field on this date operator recieve bill from customer so it should not be greater then sysdate.
i am using 2 trigger on date field.
pre-text-item
key-next-item
i am changing the format of date to user by this user can easly put the date in field.
first change in this format ddmmyy(080408) and then before leaving the field it should be change in this format
dd-mon-yyyy (08-APR-2008).
pre-text-item trigger
set_item_property('blk.item' , FORMAT_MASK , 'DDMMYY');
key-next-item trigger
set_item_property('blk.item' , FORMAT_MASK , 'DD-MON-YYYY');
next_item;
and "highest allowed date" take only date not the sysdate.
so can u give me the solution of this problem.
|
|
|
|
|
|
|