|
|
|
|
|
|
|
|
Re: Do You Want to Save... [message #151064 is a reply to message #149176] |
Mon, 12 December 2005 23:43   |
Scarlet.Zhu
Messages: 22 Registered: December 2005 Location: Shanghai
|
Junior Member |
|
|
kiran wrote on Wed, 30 November 2005 07:59 | Check the block status , if it is "CHANGED" just commit the form using COMMIT or POST.
--Kiran.
|
FUNCTION GET_BLOCK_PROPERTY
(block_id Block,
property NUMBER);
FUNCTION GET_BLOCK_PROPERTY
(block_name VARCHAR2,
property NUMBER);
Do these functions above retrieve block status???
Thanks!
Scarlet
|
|
|
|
Re: Do You Want to Save... [message #275909 is a reply to message #151064] |
Tue, 23 October 2007 05:59   |
unthirudan
Messages: 3 Registered: July 2007 Location: India
|
Junior Member |
|
|
Hi...
I wannna know what will the POST statement do... If i delete a record from the current block on screen, and wanna undo this operation.. i.e., i wanna rollback, or undo the delete operation...
Here should i use the POST statement..... Or anything else...
Bcze if i use the COMMIT or COMMIT_FORM the delete record will be saved in the database... How to undo this delete operation...
I have put a button and added the following script
DELETE_RECORD when the button is pressed....
I have kept another button to cancel this delete record....
Pls Help...
Valentine M
|
|
|
|
Re: Do You Want to Save... [message #302048 is a reply to message #149163] |
Fri, 22 February 2008 16:00   |
marvSQL
Messages: 13 Registered: February 2008 Location: JAMAICA
|
Junior Member |
|
|
i have a similar problem.i am new to oracle developement.
i have form with a master-detail relationship.
tables involved are:
--------------------------
department --being the master
employee --being the detail table
i have attached the form for viewing.
i attached an l-o-v to fill the department fields.
what i wanted was that each tim that i change the department via the l-o-v a listing of all employees under that department is to be shown.
but each time i select a new department using the l-o-v the message(Do You Want To Save The Changes You Have Made ) comes up.how can i suppress this message?
|
|
|
|
|
Re: Do You Want to Save... [message #302416 is a reply to message #149163] |
Mon, 25 February 2008 09:59   |
marvSQL
Messages: 13 Registered: February 2008 Location: JAMAICA
|
Junior Member |
|
|
thanks djmartin and sasipalarivattom for your qick responces.
to answer djmartin's question: no i did not want to make any change to the record. i only wanted the values selected from the l.o.v to be displayed in the DEPARTMENT_ID and the DEPARTMENT_NAME fields of my form but according to sasipalarivattom the block status will be modified as 'CHANGED'.
i now understand. thanks guys!!
|
|
|
|
Re: Do You Want to Save... [message #303513 is a reply to message #302878] |
Fri, 29 February 2008 11:40   |
marvSQL
Messages: 13 Registered: February 2008 Location: JAMAICA
|
Junior Member |
|
|
sasipalarivattom , i made the modifications that you told me to do.when i press the button the l.o.v did not launch.the employee datablock was filled with all the emploees.
-----------------------------------------------
I then commented the code in the key-listval trigger of DEPARTMENT.DEPARTMENT_ID :
LIST_VALUES;
--clear_form(no_validate);
EXECUTE_QUERY;
I then compiled and ran program again.it gave the following results:
* the first time the button is pressed after i run the program, the l.o.v does not show up.but the first record in the department table show up in the DEPARTMENT datablock and the employees related to that department shows up in the EMPLOYEE datablock
*if the button is pressed again(for the second time and all other attemps after that) the l.o.v shows up and everthing seems to work perfectly
i just dont know why the l.o.v doesnt show up when the button is pressed the first time
|
|
|
|
|
|
|
|
|
|
Re: Do You Want to Save... [message #659777 is a reply to message #659771] |
Mon, 30 January 2017 08:03   |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
naveenbavu wrote on Mon, 30 January 2017 08:11when I enter one code and do query immedietly it was showing me "Do you want me to save changes you have made?"
And to follow-up from Littlefoot, if you want to query records, you need to enter into query mode before you type into a field, not the other way around.
|
|
|
|