Re: Forms 5.0.6 - date formats
From: Kay Kanekowski <k.kanekowski_at_phnxsoft.com>
Date: Wed, 10 Feb 1999 08:32:20 +0100
Message-ID: <36C13604.D281EAE8_at_phnxsoft.com>
Date: Wed, 10 Feb 1999 08:32:20 +0100
Message-ID: <36C13604.D281EAE8_at_phnxsoft.com>
Hi,
use an additional Display Item for the Date field. Create a when-validate-item Trigger for the Display-Item where you call the function
function string_to_date(source in varchar2,
formats in varchar2 default 'DD-MON-YYYY', separator in varchar2 default ',') return date IS ...
This function comes with the d2kconv.pll.
Parameter source is your Display-Item,
formats is list of formatmask which where allowed for the input,
separator is character that separates the formatmask in the parameter above.
e.g.
date := string_to_date ( dsp_item, 'DD-MON-YYYY,DD.MM.YY,DDMMYY', ',' );
But test it, i think there some bugs in this function.
Kay Received on Wed Feb 10 1999 - 08:32:20 CET