Home » Developer & Programmer » Forms » Form Abruptly Closing (Oracle D2K)
Form Abruptly Closing [message #522363] Thu, 08 September 2011 23:34 Go to next message
BS_99
Messages: 34
Registered: March 2010
Member
Hi,
i have a form having 4 database data blocks and one non database data block(for Push Buttons like SAVE,CLEAR,EXIT..).
In the control Block i have 5 push buttons out of which one is used to Save the entries and one to clear the form. In the coding of SAVE button after writing "COMMIT_FORM;" i want to disable all other Data block on my form excluding the one containing Push buttons so that the data entered by end user stay appearing on the form till he Clears the form.
Now the problem is that when i set enabled property of one particular text_item to false , the form if closing down along with the application, it is totally disappearing from screen.This is happening for one particular text item.

Can anyone please tell what could be the possible reason for this and what needs to be done to overcome this problem.

Thank you.
Re: Form Abruptly Closing [message #522366 is a reply to message #522363] Fri, 09 September 2011 00:03 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try to Compile All (Ctrl + Shift + K).

If it doesn't help, temporarily remove the item from the screen (delete it). Compile again, run the form. What happens? If the form runs OK, create that item again (manually). Run the form again. What happens?
Re: Form Abruptly Closing [message #522383 is a reply to message #522366] Fri, 09 September 2011 03:01 Go to previous messageGo to next message
BS_99
Messages: 34
Registered: March 2010
Member
hi sir,
lot thanks to you.
Your suggestion really worked when i deleted the item,
compiled it ,then again created the item and again compiled and run the form.
Now it works fine.

Thank you again.

:Bibek
Re: Form Abruptly Closing [message #524921 is a reply to message #522383] Tue, 27 September 2011 08:12 Go to previous messageGo to next message
BS_99
Messages: 34
Registered: March 2010
Member
Hi
with reference to the above problem i have adopted the solution as deleting and recreating the items and then my form worked smoothly but again after some days the same problem resurfaced.
Is there any permanent solution to this?

Thank You.
Re: Form Abruptly Closing [message #524938 is a reply to message #524921] Tue, 27 September 2011 12:35 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Permanently delete that item?

Just kidding ... sorry, no idea.
Re: Form Abruptly Closing [message #524954 is a reply to message #524938] Tue, 27 September 2011 23:08 Go to previous message
BS_99
Messages: 34
Registered: March 2010
Member
Thank You Sir for responding.
Previous Topic: How to avoid no list elements defined for the list item error
Next Topic: migration to 11g
Goto Forum:
  


Current Time: Sat Sep 07 12:59:55 CDT 2024