Home » Developer & Programmer » Forms » Help! Copying text using check box (Oracle forms 9i)
Help! Copying text using check box [message #302563] Tue, 26 February 2008 02:55 Go to next message
stajna
Messages: 16
Registered: February 2008
Karma: 0
Junior Member
Hi guys,

I'm making a form for entering customer details, and I need to make possible that if the home address and the delivery address are the same user can tick a check box and the text entered in the home address text fields gets copied into delivery address text fields. How do I make this happen. Thanks a lot!
Re: Help! Copying text using check box [message #302590 is a reply to message #302563] Tue, 26 February 2008 04:43 Go to previous messageGo to next message
azamkhan
Messages: 551
Registered: August 2005
Karma: 0
Senior Member
Use Wehn-Validate-Item trigger on both items ADDRESS and Delivery ADDRESS. And check wheather the addresses are same or not if the addresses are same then make the check box enabled and on check box use WHEN-CHECK-BOX-CHANGE and in this trigger assign you home address to deliver address.

Regards,
Azam Khan
Re: Help! Copying text using check box [message #302593 is a reply to message #302590] Tue, 26 February 2008 04:49 Go to previous messageGo to next message
stajna
Messages: 16
Registered: February 2008
Karma: 0
Junior Member
Thanks! It worked!
Re: Help! Copying text using check box [message #302600 is a reply to message #302590] Tue, 26 February 2008 05:23 Go to previous messageGo to next message
stajna
Messages: 16
Registered: February 2008
Karma: 0
Junior Member
New problem!
Now when I tried to insert the data to the database using the form, it showed a message check box invalid identifier. What does this mean?
Re: Help! Copying text using check box [message #302602 is a reply to message #302563] Tue, 26 February 2008 05:28 Go to previous messageGo to next message
stajna
Messages: 16
Registered: February 2008
Karma: 0
Junior Member
Ok, I figured this one out...
Re: Help! Copying text using check box [message #303007 is a reply to message #302600] Wed, 27 February 2008 10:06 Go to previous message
azamkhan
Messages: 551
Registered: August 2005
Karma: 0
Senior Member
I think that you didnt assign the Other value value property of the checkbox.

Regards,
Azam Khan
Previous Topic: Error ORA-106555 ( Reading From Excel)
Next Topic: Forms 6i : unable to query the Employee(EMP) Details, Based on Department Name(DEPT.DNAME),
Goto Forum:
  


Current Time: Tue Aug 22 12:01:21 CDT 2017

Total time taken to generate the page: 0.09743 seconds