Date field [message #209580] |
Fri, 15 December 2006 12:06 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
srinivas.k2005
Messages: 404 Registered: August 2006
|
Senior Member |
|
|
Hi,
I have two date fields on the form canvas.
A and B.
In A field the date is 12/09/2006
B field date depends on A field.
I want to enter m1 or y1 in date field ,please let me know
wheather it is possible.
If i enter m1 in field b and press enter the date should be 1 month greater than A field date,.
eg: B should be 01/09/2007
if i enter y1 in field b and press enter the date should be 1 year greater than A field date
if i enter m1y1 in field b and press enter the date should first increase by 1 month and then by one year based on A field date.
Please let me know is this possible to enter char in date field.
Thanks,
Srinivas
[Updated on: Fri, 15 December 2006 12:07] Report message to a moderator
|
|
|
|
Re: Date field [message #209786 is a reply to message #209596] |
Sun, 17 December 2006 20:43 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Use a non-database field. Take the '1m', add it to 'A' then use a 'to_char' to repopulate the 'B' field. The real B date is stored in a database field that is not displayed.
David
|
|
|