Home » Developer & Programmer » Forms » Oracle Form Issue. (Form 6i)
Oracle Form Issue. [message #515856] Wed, 13 July 2011 11:45 Go to next message
irfankundi786
Messages: 4
Registered: July 2011
Location: pakistan
Junior Member
I want to explain my problem.

I have to date field in detail part of master detail Form.
In detail part i have field of From_date and To_date.
I want when i go to next record in detail part ,,,from date is
initiaze by previous to date+1....eg.like
1.record: From date=01-jan-2011, To_date=10-jan-2011
2.Record: From_date = 11-jan-2011;

I have Attached calender to two feild...and calender is the different block...
In Detail block when_record_instance i handled the;;
From date=previous to-date +1;

but when i double click the feild calender is open and when_new_record trigger is fired agian.
Can any one tell me that on calender called ...the when_new_record is not callled .......
Re: Oracle Form Issue. [message #515948 is a reply to message #515856] Thu, 14 July 2011 05:18 Go to previous messageGo to next message
athar.fitfd@hotmail.com
Messages: 193
Registered: October 2007
Location: pakistan
Senior Member
you can check at WHEN-NEW-FORM-INSTANCE that if the field is empty then get it populated with next date otherwise not.
Re: Oracle Form Issue. [message #515954 is a reply to message #515948] Thu, 14 July 2011 05:26 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
when-NEW-FORM-instance? Wouldn't it, rather, be NEW-ITEM instead?
Re: Oracle Form Issue. [message #516006 is a reply to message #515954] Thu, 14 July 2011 08:22 Go to previous messageGo to next message
irfankundi786
Messages: 4
Registered: July 2011
Location: pakistan
Junior Member
Still not working....
any other solution all dear..
Re: Oracle Form Issue. [message #516008 is a reply to message #516006] Thu, 14 July 2011 08:25 Go to previous message
cookiemonster
Messages: 13937
Registered: September 2008
Location: Rainy Manchester
Senior Member
How about you show us your actual code, properly formatted as described here.
Previous Topic: auto populating records in other fields based on the inventory no. field
Next Topic: Need utility that seaches multiple Oracle Forms for string.
Goto Forum:
  


Current Time: Sun Sep 08 23:05:54 CDT 2024