Alert on "Losing Focus" when a double Ticket ID is indexed.
I want the alert when a TCKT_ID duplicate is entered. Specifically, I want to alert on the loss of Focus.
I have a dynamic Action with the event loses Focus and object DOM document.getElementsByName ('TCKT_ID').
How do reference the value entry so I can check if it exists in the DB. I tried EXISTS
Select 1 from BPS_TCKT where TCKT_ID = apex_application.g_f06 (1)
But I get the error
Cannot parse the SQL query! ORA-06553: PLS-221: 'G_F06' is not a procedure or is not defined
Note: I used "apex_application.g_f06 (1)" to get the value in a part of the page once the page is submitted.
So why work in a select, but not in another? (See what works, below).
Begin
Select apex_application.g_f05 (1) in: P63_SITE_CD FROM DUAL;
Select apex_application.g_f06 (1) in: P63_TCKT_ID FROM DUAL;
Select apex_application.g_f07 (1) in: P63_TCKT_STAT FROM DUAL;
Select apex_application.g_f08 (1) in: P63_TCKT_DSCRP_TX FROM DUAL;
End;
Thoughts,
Howard
Hi Howard,.
the session state for Page settings are set on submit, the lower part of your question is.
I would create an ARTICLE (in my example, P11_ERROR),
and then create 2 dynamic actions:
1.) Execute PL/SQL Code when lose Focus on point TCKT_ID
Code:
DECLARE
lv_counter NUMBER;
BEGIN
SELECT count (*)
IN lv_counter
Of your_tckt_table
WHERE tckid =: TCKT_ID;
IF lv_counter > 0 THEN
: P11_ERROR: = 'ERROR ';
ON THE OTHER
: P11_ERROR: = NULL;
END IF;
END;
Page_items to submit: TCKT_ID
Page referred to return: P11_ID
(2.) a dynamic Action that reports the error:
on change of State of P11_ERROR to the point: when ITEM IS NOT NULL
Action: Alert "error!" ID already exists! »
Works for me :-)
Tom
Tags: Database
Similar Questions
-
Why the file opens when I double click the icon?
Why the file opens when I double click the icon?
Restart your Mac and try again.
-
I went to the Adobe site to download the latest version of Adobe Flash Player (11.4.402.278). The download was successful. However, when I double-clicked on the file in the download for Firefox, it did nothing. The file security warning dialog box does not appear. I don't know what is happening. Y at - there someone who can help me?
The download location by default on Windows Vista is the record of downloads, under your user folder. You could try to close Firefox and check there to see if the Flash installation file has been downloaded... If you see it, double-click on the file. If this does not work, try again:
After you download the file to install Flash on your computer, open the downloads window, right click on the file you downloaded and select "Open containing folder", then take it out of Firefox before running the Flash installation program that you downloaded.
See Flash Plugin - keep up-to-date and solve the related problems to the title of the update of Flash... There is a link to download the Offline Installer, if the normal download does not work.
-
My touchpad light can, t activate. When I double tap, the yellow light can not even turn on. Help, please.
Hello DS1994,.
Welcome to the forums of HP.
Please try to reinstall the driver:
http://WHP-hou4.Cold.extweb.HP.com/pub/SoftPaq/sp48501-49000/sp48843.exe
Make sure you restart your laptop after the procedure.
+ Make sure you press exactly on the light itself, I know that some laptops fighting a little more than others.
Drunks.
-
Hi, I want to migrate thousands of images of Aperture library 3.6 to Lightroom and when I double click on Aperture App it won't open. I'm on OSX Yosemite 10.10.5 and I keep the nearly 200 gigabytes of photos on a separate hard drive so I can get more old photos looking at the content of the package and by copying and pasting in a recovery file, but it will be painful and very long. What do you suggest me? I thought that Aperture 3.6 was supposed to open at Yosemite or El Capitan? Thank you bripoppamac44
and when I double click on the App opening, it does not open.
What happens, when you try that? You get an error message? If so, what error?
Opening 3.6 works well with Yosemite 10.10.5.
d I keep the nearly 200 gigabytes of photos on a disc hard separated so I can get more old photos looking for the content of the package and by copying and pasting in a recovery file
What is the file system on this disk? And how the player is connected?
-
When I double click on an email to open, the following component is too left. I tried getting a double arrow and sliding to the right, but can not.
original title: Windows Mail issue.You are the very welcome.
-
When I double click on a folder, a search window opens automatically.
When I double click on a folder, a search window opens automatically instead of the usual view of Windows Explorer that displays the contents of the folder. I must in order to display the contents of the folder, right click and select open, then I can see the contents of the folder. What setting do I change to stop the search engine to open and have the regular Windows Explorer mode appear? Oh, when I right click in the folder, the search option is bold, but the open option is regular.
Doug Knox fix - http://www.dougknox.com/xp/scripts_desc/xp_folder_open.htm
Search Companion starts if you double-click a folder or computer drive - http://windowsxp.mvps.org/searchwindow.htm MS - MVP - Elephant Boy - Don ' t Panic! -
I am trying to run creator of disc Toshiba to create an audio cd, but when I double click top he asks me if I want to allow this program to make changes to my computer, if I choose Yes or no it does nothing and does not start...?
original title: Disc creator does not work...?Hello
-Did you change on your computer before the show?
Follow these steps and check if they help.
Step 1:
Test if the problem persists in a clean boot State.
Note: Make sure that you do not disable while Toshiba disc creator in a clean boot state, and don't forget to follow the steps in the article to restart your computer as usual.
Step 2:
Reinstall the Toshiba disc creator and check if that helps.
http://support.microsoft.com/kb/307895 - for uninstall.
http://support.microsoft.com/kb/305548 - install. -
my player windows media "does not. It freezes when I'm clicking on the library. I can play songs when I double-click on them in my documents.
Hello
1 how long have you been faced with this problem?
2 have you made changes on the computer before this problem?Run the following article fixit tool and check.
Solve the problems of Windows Media Player video and other media or library
http://support.Microsoft.com/mats/windows_media_player_diagnosticLook for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.
Reference:
Using the event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=trueUnderstanding of event viewer
http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=trueProcedure to view and manage event logs in Event Viewer in Windows XP
http://support.Microsoft.com/kb/308427 -
OfficeJet Pro 8500. orientation of the page when printing double-sided it is backwards. How to change so when doc is printed can be read like a book?
I don't know where to find and change settings.
can you please help?
Thanks in advance
Anna
AnnaThere should be an option in layout to "Flip on long edge" or "return on the short edge. Change this setting to change the orientation of the back page.
If this does not resolve the problem that, please indicate what operting system you have and the number of exact model.
-
When I double click c:\ icon in my computer, it always invites me to choose a program to open it.
How to open the icon c:\ automatically bypassing the prompt to choose a suitable software?Rxtr,
Welcome to the Microsoft Answers community. Some people have found a solution in the steps described in the disk opens on double-clicktroubleshooting.
I hope this helps.
Lisa
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
I have yahoo mail and I keep losing yahoo when I read my mail
I have yahoo mail and I keep losing yahoo when I read my mail
Hello
· Is it only with yahoo mail or other customer of e-mail as well?
· What browser do you use to access the yahoo email?
You can try the steps in the link and check if it helps:
http://support.Microsoft.com/kb/967894
You can also post your question to the yahoo forum for assistance:
-
Database alert is not triggered when the Oracle database monitor by mistake.
Hello
Database alert is not triggered when the monitor of the Oracle database by mistake. If we test the alert manually alert works correctly. Could someone let me know the solution for this.
This isn't a question of PC or operating system. You should post your questions in the forums of Oracle database.
-
Why the content of auto-scroll in Windows Explorer when you double-click an element?
Why content (columns) to auto-scroll in Windows Explorer (on the left) when you double-click an element? And how can you stop that?
How to reproduce:
-Open a Windows Explorer window
-Big enough to be able to see the columns 2 and 3
Double click on an element of the extreme right or the last column
-All content automatically scrolls to the left so that the column of the element double you clicked is now in the first column of the windowIt is REALLY BORING because it causes bad clicks when it scrolls or to always click 4 times to open a folder or a file if it is located on the far right or the last column.
How do we turn off this horrible Windows 7 'development '?
Hi tom1138,
You may need to reset all settings to default folder view in Windows 7 by following the steps:1. open the Start Menu, type regedit in the search line and press ENTER.
2. If prompted by UAC, click Yes.
3. in regedit, expand keys (folders) in the left pane to:
Settings\Software\Microsoft\Windows\Shell HKEY_CURRENT_USER4. in the left pane, click with the right button on the BagMRU key and click on delete.
5. click Yes to delete.
6. in the left pane, click with the right button on the bags key and click on delete.
7. click Yes to delete.
8. in regedit, expand keys (folders) in the left pane to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell9. in the left pane, click with the right button on the BagMRU key and click on delete.
10. click Yes to delete.
11. in the left pane, click with the right button on the bags key and click on delete.
12. click Yes to delete.
13. close regedit.
14 close the session and log on or restart the computer to apply.
EDITING REGISTRY WARNING:
Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756Aziz Nadeem - Microsoft Support
-
I create the application such as chat window.
I used VerticalFieldManager, AutoTextEditField and RichTextField.
AutoTextEditField - tap the message.
RichTextField - add the chat messages
RichTextField is add in VerticalFieldManager.
How to scroll the VerticalFieldManger to see the full content of the message without losing focus on the AutoTextEditField.
Override navigationmovement. This is example how im using it.
protected boolean navigationMovement(int dx, int dy, int status, int time) { if (dy==1) {
int newscroll = mains.getVerticalScroll(); int pageheigh = mains.getHeight(); mains.setVerticalScroll(newscroll+50); invalidate(); return true; }
return super.navigationMovement(dx, dy, status, time);}
50. This is the step. This is very good work for me (but must create if newscroll <0 and="" if="" newscroll="">the field of cat yourmanager)
area = VerticalFieldManager()
Hope this makes you help.
Best regards, Peter.
0>
Maybe you are looking for
-
Hello, Skype community and everything I need technical assistance. For some reason I can't sign into my Skype account with my Skype name today. Skype for desktop PC says "we can not open Skype. You are already connected to this computer. Please log o
-
HP Pavilion 20 All - In - One PC: HP Pavilion all-in-one PC card parent 20 P/N
Hello I noticed that my CPU socket pins are bent. For the most part, I need to replace the motherboard. May I know what is the HP P/N for the motherboard and where I can buy it? No. H6P16AA #AB4 Model n ° 20 - a230d Thank you
-
PDA time control is not editable
I have a PDA LV8.6 application installed on an iPAQ hx2490c running Windows Mobile 5.0. On the front is a cluster that contains a DateTime control and a control chain. Date/time control cannot be changed by using one of the functions available on t
-
Hello installed this several months ago without any problems and very satisfied with how it was easy to implement, however our main router died and we had to replace, but you can see the post for him you are impossible to connect, set password result
-
Applications of ask a program to open.
The strangest thing ever... plain old ".exe" applications require a program to open. (With the help of Vista) Probably the most fundamental and prominent example of this problem is when I tried to use Notepad. He went to the 'Open with' window, so I