How to check the previous value of the element in a multi-record block
Oracle Version: 10 gForms Version: 10 g
Hi all
Hello everyone, I have a multi-dossier block in a form where one of the values of elements is of LOV.user can select the value of LOV.
If once the user selects the value of LOV and moves to the next of the multi-file record, and selects the value of LOV again, I shouldn't allow users to select the previous value of the user in order to avoid duplication of records.
and important remark is that I should get there before you save it in the database because once registered in the database I can compare the values and hide the previous value.
Any help will be appreciated.
Thanks and greetings
This is a question frequently asked in the forum! There are several different solutions. Take a look at the following articles. Both will perform the necessary verification of duplicates.
Forms - registration of treatment group (value in double check...
or
Avoid records duplicated in a block
If none of these solutions don't work for you, search the forum for other options.
Hope this helps,
Craig B-)
If someone useful or appropriate, please mark accordingly.
Tags: Oracle Development
Similar Questions
-
How to check the arhice mode is on or not according to the pl/sql procedure
Hello
I'm trying to figure out how to check the mode archive inside begin end block. Basically, I'm developing a procedure that returns in mode archive.
I know that the following command returns the status of fashion archive but I can't do the job inside the begin end block.
"list of archive logs.
I'll be appricated if you show me how to call the above command inside begin end block.
Kind regards.Hello
If you want to see archive log mode is activated, you can simply check V$ database.
select log_mode from v$database
That is what you want, or is there something more, you need?
David
-
How to get the original number multi-record block registration
Hi all
I know how to find the item duplicated in several record block.
For Ex:
Here record 3rd nom_element is duplicated, I can able to check and display the message that "point is duplicated", I found [sheikyerbouti.developpez.com/duplicates/duplicates.htm].Line_Num Item_Name Quantity 1 AA 10 2 BB 20 3 AA
but I want to show as well as the original line to be number 1 when the nom_element came.
Here I want to check the original Line_Num and display the message
"Item is duplicated, update quantity in the original 1' line."
Can someone help me find it?
Thank you.
Kind regards
Guru.In the following key trigger write code like this I think it will help you
declare
v_Text varchar2 (20);
NUMBER OF V_REC;
BEGIN
v_Text: =: test;
V_REC: =: SYSTEM. CURSOR_RECORD;
premier_enregistrement;
loop
If v_text =: test V_REC AND <> : SYSTEM. CURSOR_RECORD then
GO_RECORD(:SYSTEM.) CURSOR_RECORD);
RAISE FORM_TRIGGER_FAILURE;
END IF;
WHEN THE OUTPUT: SYSTEM. LAST_RECORD = "TRUE";
NEXT_RECORD;
END LOOP;
GO_RECORD (V_REC); NEXT_RECORD;
-v_Text: = NULL;
EXCEPTION
WHEN FORM_TRIGGER_FAILURE THEN
RAISE FORM_TRIGGER_FAILURE;
END; -
How to check the page dirty with default values existing in viewObject?
Hi all
I use JDeveloper 11.1.1.4.
I have two pages in my application. I am browsing for page2 page1.
Before opening page 2 I created new line page 2 notice of object using method 'Create Insert()' with some default values by using the ViewRowImpl class.
My problem is that I have a button to return to Page 2. If I click the back button, then check the Application module is dirty or not.
But it always shows AM is dirty due to I'm setting some default values in ViewRowImpl. If I avoid the default values in ViewRowImpl then AM dirty check works fine.
My Question is how to check the AM (or) dirty Page with default values in the object view?
My bean Codes:
Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
DataControl dc = bindings.findDataControl("AppModuleDataControl");
ApplicationModuleImpl am = ((ApplicationModuleImpl) dc.getDataProvider ());
If (am.getDBTransaction (.isDirty (()))
{
return "Page is dirty."
}
My Jspx Codes:
< af:commandLink id = "cl6" text = '2 '.
shortDesc = "Add Row in Page2"
actionListener = "#{bindings." Action CreateInsert.execute}' = 'Edit' >Thank you
David...
see this
http://www.techartifact.com/blogs/2013/11/how-to-check-ifdirty-is-modified-for-view-object.html
http://www.jobinesh.com/2011/05/checking-for-dirty-data.html
-
How to check the value of the main forces?
Run the following command:
sure emctl console - self_signed-key_strength 1024
But, how to check if this value has been updated correctly?
Thank youHello
You can see the key_strength of the following navigation:
From the browser to work, enter the URL for the console.
There should be a lock next to the url of a red cross next to him.
Click on the padlock (see site information)
Click on "certificate information".
Click on "Details".
Scroll down to the public key
they must be RSA(1024 bits) if the command changed successfully or he'll tell RSA (512 bits).Thank you
Vincent -
How to check the value of the space of the tablespaces and tables when errors occur?
Hi Experts,
For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?
Thanks for your help
Hello
Select df.tablespace_name "Tablespace"
totalusedspace 'Used MB',
(df.totalspace - tu.totalusedspace) "MB free.
DF. TotalSpace 'Total MB. "
round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))
"PCT free."
Of
(select nom_tablespace,
Round (Sum (bytes) / 1048576) TotalSpace
from dba_data_files
Group by tablespace_name) df,.
(select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)
from dba_segments
you group by tablespace_name)
where df.tablespace_name = tu.tablespace_name
and df.tablespace_name = "
"; For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?
Is to say clearly to the question (you can let us know what you have understood so we can fix)
[oracle@machine1 ~] $01653 oerr ora
01653, 00000, "impossible to extend %s.%s table by %s in %s tablespace»
* Cause: Failed to allocate a certain measure the required number of blocks for
a segment of the table in the specified tablespace.
* Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
storage of files indicate.
-Thank you
Pavan Kumar N
-
How to check the values in multi-record block. ?
Hello
I'm new to forms. I have the field titled "Comments" in the block of multi-record. I have a button called "reject". Reject button is in the control block. If I press the button reject, field comments must be entered in one of the record. Otherwise, he should tell message. How to check the multi-record block. ?
Pl.Help.
Thanks in advance.
ManoMano,
Add NEXT_RECORD just before the END of the LOOP.
GO_BLOCK('
'); FIRST_RECORD; LOOP IF NVL(: . , ' ' ) = ' ' THEN MESSAGE(' '); RAISE FORMS_TRIGGER_FAILURE; END IF; EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE'; NEXT_RECORD; END LOOP; Kind regards
Manu.
If my response or response from another person was helpful, please mark accordingly
-
How to check the manufacturing date of the Z2?
Hello, so the title sums up pretty much everything this. On the previous xperia phones, you can check under the battery, with xperia Z, that it was written on the back at the bottom but on Z2? How to check the date of manufacture?
Hello and welcome to the community! Since you are new, please make sure that you have checked our Forum.
This label can be found in the MicroSD slot, click on the following link:
http://Userguide.sonymobile.com/referrer.php?region=en&product=Xperia-Z2#IMEI-number.html -
How to check the JSON object properties available
Hi I have a JSON of WebService object.
How to check the available JSON object?
ex JSON:
{
name: "someName".
DESC: 'someDesc '.
}
How to check the available name?
Because sometimes not available from the server name properties
void MyClass::httpFinished(QNetworkReply* reply) { QString data = (QString) reply->readAll(); bb::data::JsonDataAccess jda; QVariant variant = jda.loadFromBuffer(data); QVariantMap variantMap = variant.value
(); QString name = variantMap.value("name").toString(); } I want to hide component Label on my .qml if name not available from webservice.
Thank you
Kaz32 wrote:
Hi I have a JSON of WebService object.
How to check the available JSON object?
ex JSON:
{
name: "someName".
DESC: 'someDesc '.
}
How to check the available name?
Thank you
If you want to check if the name is available, you must use
bool nameExists = variantMap.contains ("name")
-
How to check the data file is set to unlimilted autoextend
S/N,
Oracle version: 10.2.0.4
OS: linux
could someone tell me how can I check the data file are set to unlimited autoextend?
Thank you
Bahadur.Salvation;
Pelase see:
How to check the CanGrow data files the value of Maxsize unlimited [ID 468096.1]Respect of
HELIOS -
How to check the status of the statistics on a table?
Hello
I started the statistics collection on a few large tables in my database.
How to check the status of statistics about a table? Are there views of data dictionary or tables to monitor the progress of the collection of statistics.
Regds,
MalikaHi all
You can check with this little script.
It lists details of sid for long as running session
When he started
What last update
How long still to the left
"ACTIVE/INACTIVE" session state etc.---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Author: James Syed_
-Script_name: sid_long_ops.sql
-Description: list details of sid for long running the session as when it began when the last update how long still to the left.fixed lines 200
Neck LESS to a25Select
a.SID,
a.Serial #.
b.Status,
a.opname,
TO_CHAR (a.START_TIME,' DD-me-AAAA HH24:mi:ss) START_TIME,
TO_CHAR (a.LAST_UPDATE_TIME,' DD-me-AAAA HH24:mi:ss) LAST_UPDATE_TIME,.
a.time_remaining as 'time remaining dry. "
a.time_remaining/60 as "Min remaining time."
a.time_remaining/60/60 as 'remaining time in HR.
V $ session_longops a, v$ session b
where = select a.sid
a.sid = & sid
And time_remaining > 0;----------------------------------------------------------------------------------------------------------------------------------------------------------------
The sample output:
--------------------SQL > @sid_long_ops
Enter the SID value: 474
13 old: a.sid = & sid
13 News: and a.sid = 474SID, SERIAL # STATUS START_TIME LAST_UPDATE_TIME remaining time LESS dry time remaining minutes remaining HR time
--------------------------------
474 2033 ACTIVE collection schema statistics June 6, 2012 20:10:49 June 7, 2012 01:35:24 572 9.53333333.158888889Thank you & best regards
Syed James.
Oracle Apps DBA
Mobile: + 91 9966270072
E-mail: [email protected] -
How to check the amount/number of issued on the database DDL operations
Hello
Can someone please clear some doubts.
1. How can we check the number of DDL operations on the database
2. how we check the amount of growth in the size of the database.
3. How can we check the growth of a single table.
Concerning
AmithSelect startup_time "Startup."
MySQL 'Transactions. "
/Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) "Avg per day."
/Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 24 ' Avg / hour. "
/Decode (value) sum (Sum (trunc(sysdate-STARTUP_TIME)), 0.1, Sum (trunc(sysdate-STARTUP_TIME))) / 1440 "Avg / min.
v $ sysstat, instance $v
WHERE name in (a "user is committed," restores user)
Startup_time group; -
Anyone know how to check the date of warranty until when?
Anyone know how to check the date of warranty until when?
-
How to check the balance on the gift card itunes
How to check the balance on the gift card itunes
Redeem it
-
Satellite A200 - how to check the temperature of the processor fan?
Hi all
I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?
Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!
Any advice would be appreciated.
Hey mate,
How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.
In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.
Maybe you are looking for
-
Portege R100: fan and screen
My portege r100 fan no longer works and I wonder to the service change only the fan or the mainboard... and my screen has 24 dead pixels color do that I have to doKind regards
-
HP Pavilion G6 2225 YOU: Wireless Mouse software is not not with 8.1 Windows x 64
Dear Experts, 1. wireless mouse was working fine with Windows x 64 10. After recovering to Win 8.1, wireless mouse does not work and in the display list of a manager of the device below. "Unknown USB Device (device descriptor request Faild). Still
-
Error message on the memory of the 7 1311 slate
Hello I have a slate 7 1311, with 4 GB memory, which I cannot install apps saying I have no available memory, but I only have 2 GB occupied. By looking at the settings I see 4, 80 GB total memory. Applications-2, 72 GB; Photos - 1, 23 MB; Audio - 18
-
When I get updates I get them anything but an error shows a 8024402C
I was able to get updated and deleted the firewall then I have them all except one above and he says: I need help from my provider to fix this
-
Photosmart c310: failure C photosmart wireless printing
I have ATT U-Verse and had my modem replaced, I set up my printer with the new wifi and the password, but cannot print wireless from my laptop more. All the tests on the printer say PASS. Do I need to download any updated HP printer?