When you close the form "Do you want to save the changes" window
HelloI have a master form / detail where in my trigger after QUERY I change the item field data of LOV to a value non-base. When I simply select Master record(NOT in query mode) my detail records pop up in the retail block. This is done in EXECUTE_QUERY in trigger a TIME NEW BLOCK INSTANCE in detail block. But when I close the form he's asked me to save changes even though I haven't changed anything. I have this statement after QUERY Trigger
SET_RECORD_PROPERTY(:SYSTEM.) TRIGGER_RECORD,: SYSTEM. TRIGGER_BLOCK, STATUS, QUERY_STATUS); This problem doesn't happen in QUERY MODE.
I tried the two Set_Item_Property('BLOCK.) CODE', ITEM_IS_VALID, PROPERTY_TRUE); This property in the POST_QUERY and the Set_Item_Property ('item_name', VALIDATE_FROM_LIST, PROPERTY_TRUE); in QUERY-MASTER / DETAILS trigger but it did not work.
Help, please
Thank you
If you take the second codepart, you may need to add a CREATE_RECORD in the last ELSE like:
ELSE
-- No master-record, found, use has to enter data, FK_ID can be pre-populated from the LoV-Selection
CLOSE crCheck;
-- Create an empty reocrd here
GO_BLCOK('MASTER');
CREATE_RECORD;
:MASTER.FK_ID:=:BL_CONTROL.IT_FK_ID;
END IF;
I hope this helps.
Tags: Oracle Development
Similar Questions
-
How can I stop Firefox closes when I close the last window open?
I had to get Windows 7 reloaded and my backup was corrupted (i.e., I couldn't use my custom Firefox.) So I downloaded the new Firefox and now it closes automatically when I close the last window opened. I prefer that Firefox stay open until I chose to close it. How to achieve this?
Hello 1DKG, do you mean when you close the last open tab? If yes you can replace it as follows:
enter on: config in the address bar of firefox (confirmed the message information where it appears) and search for the preference named browser.tabs.closeWindowWithLastTab. Double-click it and change its value to false. -
When I have more now open tab and I use the x in the window close the browser I get the warning that I close x number of tabs. If I click on continue it closes the window. It's still all I had to do to end the session and close all. Now when I restart Firefox all tabs that were closed at the previous session appear on the new page. If what is expected, why do I get the warning. This just started happening. Version is 32.
Did you remove the user.js file because this file is the main cause of the problem?
With the extensions.autoDisableScopes pref, you can control where extensions can be installed.
It is one of the predefined files that define the default values for preferences (you can check these files through the address bar).- Resource:///defaults/Preferences/Firefox.js
// Disable add-ons that are not installed by the user in all scopes by default. // See the SCOPE constants in AddonManager.jsm for values to use here. pref("extensions.autoDisableScopes", 15);
- Resource://GRE/modules/AddonManager.jsm
-
Since I upgraded to firefox 2 days ago, there a reboot problem. When I close the firefox window, it closes as it normally does, but whenever I try to restart firefox it shows the notification that firefox still works and I first need to stop the previous process before you can start a new one. Finally after I manually stop the firefox process it restarts again.
What fixed it for me, but I am running v.15 because of other problems. I have to say I tried a hundred things and nothing works. I made the note never stop, even hours later, if I forgot to go to the Task Manager to end the process. It seems not important to know if I had extensions or modules running or not. I tried this before today. My graphics driver updated a couple of months. In any case, THANK YOU for this, finally something is going right.
-
"The server has encountered an error" when you want to send a message with the form.
Hello
"The server has encountered an error" when you want to send a message with the form.
With the businesscatalyst site, the message is well received by the recipient as the site FTP host, the previous message is displayed.
What code do I add and where?
In advance, thank you.
Please, answer in french!
Hello ScratchMaster,
Please see the link below, I'm sure that you will find it useful.
https://forums.Adobe.com/docs/doc-3581
Kind regards
Vivek
-
What is the best export the configuration when you want to place your video on Facebook or youtube
What is the best export the configuration when you want to place your video on Facebook or youtube
Hi Robert,.
Here are the high quality requirements of Facebook: How can I ensure my videos are of high quality. Facebook Help Center | Facebook
Formats: this video file formats can I upload? Facebook Help Center | Facebook
YouTube: recommended encoding download - YouTube Help Center settings
Thank you
Kevin
-
The last edition, 2015.5, does not transfer data from the metadata, only the focal length objective. Disappointment when you want to know what that lens you used. (It allows to rename the files but after you create a second copy. "It's an improvement.)
Yes, copied files from Nikon NEF, DNG.
-
Then... Adobe doesn't have a pause for customers of the subscription option? Has anyone else had to pause/hold a subscription and they told you to cancel and start a new subscription when you want to return?
If you have a MONTHLY subscription, not an annual subscription with monthly payment, you can stop/start according to the needs
-
Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different files with different after encoding names?
Located in and out on a section and that export brands.
.. .Rinse and repeat for the other section.
Name each section and where it is exported to separately... and as you wish
-
Hello
I have a problem when you try to save functional forms/EBS test with OpenScript in 12.2.0.1 and also 12.1.0.2 version.
The problem has been verified in two environments:
1. Windows XP 32-bit, Internet Explorer 7, 1.6.0_45 JRE.
2. Windows 7 32 bit, Internet Explorer 8, 1.6.0_45 JRE.
The exception that I can see in the Java Console is:...
SSV dialogue is removed
Loading of ATS Oracle Forms Module functional test [5.5] [JRE_1.6.0_45 Oracle]
Temporary directory FormsFT Helper: * \Temp\OpenScript_FormsFT
...
Loading cached forms pots...
....
oracle.forms.engine.Main cracked
Base: exception: the applet Bad class name.
exception: the applet Bad class name.
java.lang.SecurityException: applet Bad class name
at sun.plugin2.applet.Plugin2Manager.createApplet (unknown Source)
to sun.plugin2.applet.Plugin2Manager$ AppletExecutionRunnable.run (unknown Source)
at java.lang.Thread.run (unknown Source)
Exception: java.lang.SecurityException: applet Bad class name
I think that I already tried all possible combinations with options and preferences of OpenScript.
I also reinstalled several times to JRE.
What is interesting is that everything works fine when I use the 1.6.0_38 JRE. However, all versions up to it give me the above exception.
Could you please give me some advice what I can do or check? Maybe you can provide me with some information about the things that have changed in JRE 1.6 update 38 which can affect the load java applets by OpenScript?
Everything I could find in the release notes was that some security problems have been repaired.
Thanks in advance for any help.
Because of security changes introduced in JRE, use NO build longer than 38 for JRE 6 (1.6.0_38) and does not exceed the 11 for JRE (1.7.0_11) 7.
REDA
-
* You want to close the current window before going to the url page.
* You want to close the current window before going to the url page.
Hello
I use the script below to go to the function of the url in actionscript 3, and it works fine:
btn.addEventListener (MouseEvent.CLICK, e);
function e(e:MouseEvent):void {}
navigateToURL (new URLRequest ("http://www.angelfire.com/in/HisTruth/copyofindex.html"));
}
That is fine, but I want the first window to open and close to the top in its pointing to.
How can I add the correct script for this?
TseyigaiI don't know what you want between the title and description, but try adding _self window argument...
function e(e:MouseEvent):void {}
navigateToURL (new URLRequest (http://www.angelfire.com/in/HisTruth/copyofindex.html), '_self');
} -
Hello
I'm working on the Oracle forms 6i. I have a custom query search window (do not use the Oracle QUERY_FIND seeded window feature). Build manually (BLOCK_1 and WINDOW_1). When I click on the search button, then I Block table that has windows (BLOCK_2 and WINDOW_2) and in this form, I have a button called details. When I click on the Details button, it opens the details Block (BLOCK_3 and WINDOW_3).
There is no functionality seeded t define the relationship of master details. (everything is customized)
Now, if the user has made a few changes on the block of retail and click the X (close) on this window without COMMIT the record, then how can I display a message to the user as a block level saying that "Do You want to save changes?" and after selecting one of the action i.e. Yes, no or cancel how to perform the action according to the user's action.
This form I have three different blocks and WINDOWS for individual block so when i have all three open window and click on F4, then it closes all windows of three then how can I close the window when the user uses them short key F4 to close the window.
Thank you very much in advance.
Melanie,
Thanks for the update. I tried KEY-EXIT, WHEN now-BLOCK-INSTANCE, KEY of VALIDATION, but unfortunately these triggers are not fired. I found the work around that.
I made after the code in the APP_CUSTOM package in the close_window procedure.
IF: SYSTEM. BLOCK_STATUS = 'CHANGE '.
THEN
FND_MESSAGE. SET_STRING (' do you want to save the changes you made?) ');
l_button:-fne_message.question(button1...icon);
and then based on the user action that performs the action.
END IF;
It works for me. Problem solved.
Thank you very much for your time and your suggestions.
-
Do you want to save the changes
Hi all
6i dev,
I always get him 'do you want to save the changes you have done"message when I open my form and try to run the query.
without to make anychanges.
??
Thank you
I found it, I'm assigning a value to an element in a trigger a time new form instance
Thank you
-
Get the message "do you want to save the changes you made?
Hi all
I activated the zoom for the standard form of profiles (applications developer) open a new custom form that is used to enter additional information for profiles.
Two fields profile option id and the profile on the new form option name should get the value in the calling form. Based on these values the new form should show the custom intermediate table data if the record exists.
If there is no data in this profile of the user must be able to enter information and create new record and commit to the DB table.
If there is data in the file should be displayed and if the user updates of any field, you have to refresh the record in the DB table.
I created two new parameters in the new profile_option_id and profile_option_name form which gets its value from the calling form through the custom.pll changes.
Now, when the new form opens, I see the 2 default fields. But it pops up the message "do you want to save the changes you made?
If I say no, then the data are displayed for the existing record. If I click Cancel, and then nothing happens.
Please help me to understand the reason for the pop-up message when the form is opened.
I changed only a TIME-NEW-FORM-INSTANCE trigger to the new form.
Start
If (: parameter.profile_option_id is not null) and (: parameter.profile_option_name is not null)
then
set_block_property ('NAPP_USR_PRF_OPTIONS_TBL', DEFAULT_WHERE, 'profile_option_id =' |: parameter.profile_option_id |) "(ET profile_option_name = ''' ||: parameter.profile_option_name || ''');"
: NAPP_USR_PRF_OPTIONS_TBL.profile_option_id: =: parameter.profile_option_id;
: NAPP_USR_PRF_OPTIONS_TBL.profile_option_name: =: parameter.profile_option_name;
end if;
GO_BLOCK ('NAPP_USR_PRF_OPTIONS_TBL');
execute_query();
end;
I use form 10g and DB version is 11.2.0.2.0
Thank you
ChrystelHi Olivier,.
: NAPP_USR_PRF_OPTIONS_TBL.profile_option_id: =: parameter.profile_option_id;
: NAPP_USR_PRF_OPTIONS_TBL.profile_option_name: =: parameter.profile_option_name;GO_BLOCK ('NAPP_USR_PRF_OPTIONS_TBL');
execute_query();After having assigned the value in any field and then using exectue_query triggers the message.
If option 1 is...
If you need to assign then first use execute_query; then assign a valueOption 2 is...
Use commit_form and then use execute_query;I hope this helps...
Hamid
-
Do you want to save the changes you made
Hi guys,.
I need your help
I ve a form that retrieve data on employees.
There are 8 blocks in the form,
I created a when trigger click mouse to display a LOV
declare
a Boolean value;
Start
a: = show_lov ('TEST');
pc_execute; -calling a procedure
END;
but it gives you want to save the changes you have made?
and I tried to delete it by setting the level of message system = 25
but no advantage,
And if I write:
declare
a Boolean value;
Start
a: = show_lov ('TEST');
GO_BLOCK ('ORG_EMP_INCREMENT_HISTORY');
pc_execute; -calling a procedure
END;
the message will disappear, but the query will run not all blocks
ANY suggestions
Best regardsEl-Hamdulellah
Pls to mark your Question and the correct answer...
and erase what was you meant to do?
To help others with the same problem...
Kind regards
Abdetu...
Maybe you are looking for
-
Whenever I change a print setting, firefox that shows the default setting. For example, I want to print a document in landscape, and now all my documents print in landscape unless I have reset firefox or I might want to print only once another printe
-
Charging battery and power problem problem.
The problem occurs only once I have start the load the laptop after that I used the battery for either a small or for a long period of time. The battery will begin to charge and the laptop runs from the power supply for 5 minutes at a time. After tha
-
Pavilion H8 - 1287c: is the Pavilion H8 - compatible video card EVGA GTX 970 1287c
I improved the diet of a CX750 Corsair of the 500W this desktop computer comes with the factory. I was aware before you buy the video card POWER supply might be a limitation. With the previous BIOS (7.09) I have tried several things as shown below.
-
Derivatives of Focus 50mm 1.8
I love dabbling with astrophotography from time to time, and I would try my 50mm lens. But if I try to manual focus on something to infinity and then take a timelapse of the stars, I only usually get 5 or 6 pictures until my lens focus drifted infini
-
How to remove a video after you have created a?
I can't find a way to do it. Thank you