Forms :: How To Detect When ENTER Key Pressed

Mar 5, 2010

I have 2 text fields as search criteria and a push button to search. When the user enter any on first field (or in any text field) and press ENTER key, I want to execute the search.

I tried the key-next-item trigger, but it's firing when I press TAB key.

How can I detect ENTER key?

View 8 Replies


ADVERTISEMENT

Forms :: Detect Browser Name?

Dec 8, 2010

I need to define the type of user's web-browser (Opera, Ie, chrome, firefox), under which launched forms.

View 3 Replies View Related

Forms :: Button Pressed Trigger

Jan 6, 2012

I have got a form with 3 buttons and when these are pressed determine who is logged in, what role they are and if they are a certain role go to another block, if they are not that role flag up a message. I think I need to create a function in the database along the lines of -

create function user_has_role (p_user in varchar2 default user, p_role in varchar2)
return boolean
as
select * from dba_role_privs where p_user = GRANTED_ROLE;
end

View 16 Replies View Related

Forms :: Display A Field When Shift+f4 Is Pressed

Apr 25, 2012

i m trying to display a field when shift+f4 is pressed. but i don't know the trigger in which the code needs to be written.

View 8 Replies View Related

Forms :: How To Skip Trigger Only When Button Is Pressed

Mar 9, 2013

in my form I have a button that updates a table and I have a pre-update trigger.

is it possible to skip the pre-update trigger only when the button is pressed.

View 2 Replies View Related

Forms :: Open PDF File When Button Pressed?

Dec 6, 2009

I've a button on a form and I wrote a trigger when button pressed to open a pdf file and it worked fine this was my

declare
AppID PLS_INTEGER;
begin
AppID := DDE.App_Begin('C:Program FilesAdobeReader 8.0ReaderAcroRd32.exe Z:BUILTINS.pdf',DDE.APP_MODE_NORMAL);
end;

The thing is this form is used by multiple clients and if a user has a different version of acrobat reader rather than version 8 this will not work how to do it to be uniform?

View 5 Replies View Related

Forms :: Any Method On WHEN-BUTTON-PRESSED Trigger

May 9, 2012

I have a form of a user feedback with SMS Sending. which I gave to my all clients when ever my any client enter a feedback they press send SMS button so I got SMS if they press the button 2 times I got 2 same sms and if press the button 3 times I got 3 same sms and so on I want to restrict them and allow them to send only 2 sms of that feedback.any method on WHEN-BUTTON-PRESSED Trigger.

View 7 Replies View Related

Forms :: Find Key Pressed And Release Action On Oracle 10g

Dec 14, 2012

we need to find the key pressed action and key release action on Oracle form 10g. On key pressed (i.e. key-up, key-down, key-page-up and key- page-down) the event will be fired and as soon as the user release the key, the event will be stop.

As current situation, we have one form which contains the database blocks. As per search condition, all the data populated in Database block, there are 1000 and more records. Now user going use any of key (i.e. key-up, key-down, key-page-up and key-page-down) as he pressed key ( say Key- down) it scrolled down but as soon as he release the key, the event is not stopped. its going on going down then stop.

Is it possible, as user release the key scrolling will stopped at same time ?

View 3 Replies View Related

Forms :: ORA-305500 Exception On When-Button-Pressed Trigger?

Jun 20, 2005

why this exception is occuring .my code is below.

Procedure Edit_File
(v_linked_file in out file_link.linked_file%type,
v_copy_status in out file_link.copy_status%type,
i_ext in varchar2) is

[code]....

View 18 Replies View Related

Forms :: 6i To Show Detail Block When Button Pressed?

Aug 16, 2011

Is it possible to display the detail block (different canvas) in the master block canvas, but when finished entering data into master block and a button is pressed? And i want to use some conditions in the when-button-pressed trigger. based on that it should show different canvas.

simply speaking, my aim is to use the upper part of the screen to show master block and the lower part for a detail block from the different detail blocks based on condition checked in when-button-pressed trigger.

View 6 Replies View Related

Forms :: How To Clear Line Records When F11 Is Pressed In Header Block

Sep 4, 2011

I am working in form 6i, EBS 11i. I have below requirement to achieve.

I have header data block A, line control block B. My requirement is, i know that in master detail block, if i press F11 in header block, it will clear the line block, like this, in my case if i press F11 in header data block A, i want to clear the line block B. Is there any way we can achieve this.

View 3 Replies View Related

Forms :: How To Copy Values From One Table To Another Using When-Button-Pressed Trigger

Feb 14, 2013

I have two tables one is

1)create table abc(c_name varchar2(10),c_number number(6),c_loc varchar2(8)); --having values
2)create table temp(sname varchar2(10),sid number(4),address varchar2(10));---no having

and my question is how to insert a values into temp using when-button-pressed trigger based on abc table in oracle form.

View 16 Replies View Related

Forms :: When Pressed F-11 And Ctrl F11 Buttons Screen Doesn't Turn Blue

Oct 19, 2009

I developed custom form, everythng is working fine. but when i press F-11 & Ctrl F-11 it queries and gtes the record.

But when I press F-11 ,fields on the screen doesnt turn blue.

View 10 Replies View Related

Forms :: FRM-40735 / WHEN-BUTTON-PRESSED Trigger Raised Unhandled Exception

Aug 17, 2011

I have a form which contains tabular layout which i can fill a text item with date format. I set the data type properties to "Date" with format mask "dd-mm-yyyy".When I click a "save" button, it will call a procedure to insert into table. But i'm getting this error message : "FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502"

I did some search on google and error 06502 means numeric or value error. But I don't understand what caused my error. Is it at my text item's properties?

View 5 Replies View Related

Forms :: FRM-40735 When Button Pressed Trigger Raised Unhandled Exception ORA-01843

Oct 30, 2013

I am trying to insert some values into a table from a form i get the below error;

which says not a valid month;

FRM-40735 WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-01843

after i do google i added the below one to the insert statement and again i receive the error;

to_date(to_char(sysdate,'dd/mm/yyyy'),'dd/mm/yyyy')

My Insert Statement

insert into Invoice123
(Invoiceno, invdate, gross_tot, discount)
values
(nvl(INVOICEno(j),0),
to_date(to_char(invdate(j),'dd/mm/yyyy'),'dd/mm/yyyy'));
commit;

by which format we can achieve this!

View 6 Replies View Related

Forms :: FRM-40735 / WHEN-BUTTON-PRESSED Trigger Raised Unhandled Exception ORA-06502

Oct 3, 2013

I have Forms 6i, installed in a system at remote location with OS Windows 7. Previously the same was installed in Windows XP it was working fine. Now in Windows 7 also its working fine for most of the things, for some data loading options its not working and showing below shown error.

FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502

View 1 Replies View Related

Forms :: Display Checkbox Selected Records In One Column Of Form / When Push Button Is Pressed

Jul 2, 2011

how to display check box selected records in one column of form when push button is pressed.

View 1 Replies View Related

Forms :: Concatenate Or Copy Value On Enter Or WVI

May 27, 2013

I have three database fields on my form , field_1 , field_2 and field_3 , user will enter the data in field_1 , and sometime he may not enter in field_2 ,

I want to bring the value of field_1 as it is into field_3 if he does not enter anything in field_2, if he enters the data in field_2 , then field_1 will get concatenated with field_2 and gets copied into field_3.Is there a way to do this automatically at form level using a trigger when-validate-item.In short this should be done after user presses the enter key on field_2.

create table ot_Sale_code_head ( sale_code varchar2(12),code1 varchar2(6),code2 varchar(6),code3 varchar2(12));
insert into ot_Sale_code_head ('A','01.01',NULL,NULL);
--inserted record in form will be 'A','01.01',NULL,'01.01'
insert into ot_Sale_code_head ('B','01.01','PS-P',NULL);
--inserted record in form will be 'B','01.01','PS-P','01.01.PS-P'

View 2 Replies View Related

Forms :: How To Cancel Enter-Query Mode

Aug 31, 2011

When i entered for modification/deletion process initially i prefer to entry-query mode then execute the query.

Suppose when i am in entry-query mode but i want to cancel(abort) the mode ie. entry query. How to achieve this.

View 3 Replies View Related

Forms :: Enter Data In Mandatory Fields

Mar 29, 2011

I developed a custom Form using Form Builder 6i. This Form has selection criteria (data to be entered in a couple of fields) and a "Find" Button, which queries the data (based on the selection criteria) and populates all fields on the Form.

This Form has a couple of "Required" fields in its search criteria section. When data is not populated in any of the Required fields and "Find" button is clicked upon, Form raises an exception and pops up a message indicating the user 'to enter data in mandatory fields'. However, this message keeps popping up and would not stop.

So, I'm not able to proceed with querying data on my custom Form. I had to kill the session and reconnect to front end to overcome this issue.

View 6 Replies View Related

Forms :: Disabling LOVs When Not In Enter Query Mode

Nov 5, 2010

I currently have a form in which a master block populates a detail block. when the master is populated the cursor automatically goes to the detail block and sets it to enter query mode (due to the face that there are multiple details but the user may only view one at a time). To select the appropriate detail the user may select the detail from a LOV which is activated by clicking a button. once the detail has been selected and the query executed there is no real need for the LOV as the user can now edit/delete the detail. Also when adding a new detail there would be no need for the LOV as the presence of it would only confuse users. So basically the only time the LOV is usefull is during query mode to query the detail the user wants to edit/delete.

View 1 Replies View Related

Forms :: How To Use When-validate-item In Enter-query Mode

Oct 14, 2012

I have to create a form and i have to use trigger when-validate-item in enter-query mode . I have read trigger when-validate-item can not use Enter Query Mode . Is there any way to do this when i enter-query?

View 5 Replies View Related

Forms :: Clear A Block For Enter Query Mode?

Jan 16, 2012

I am using Forms 6i,Oracle 10g. In a form I created, I have 3 blocks, first is a toolbar type with buttons to save, exit etc., other two are one master and detail data block.

how to get the default Oracle toolbar with the buttons, save, delete etc. I dont get in my form.

When the cursor is inside the detail block and then I click on an EnterQuery button in the first block, how do I clear the detail block, using the on btn press code.

What happens when I click the Enter Query button, is that the cursor and current block becomes the button block and when I run the command ENTER_QUERY, no use.

I need to set the block in which the cursor is to be cleared for query, whether it is master or detail, by pressing the button on the first block.

View 7 Replies View Related

Forms :: Enter Arabic In English Text Field

Apr 24, 2013

I have a problem in Oracle Forms 10g. For any field that should be by default right-to-left (arabic), the reading order is changed when entering the field, but the keyboard is not changed to Arabic automatically. The user has to type ALT+ Shift to manually modify the language.

I worked before with Forms 2000 and Forms 6i (in client/server mode only), it was working fine. Is it impossible on Web Forms? Must I use a Java Bean? If yes, is there something existing to perform what I need?

View 15 Replies View Related

Forms :: Radio Buttons Don't Work In ENTER-QUERY

Mar 11, 2010

I have a query form where I am attempting to add radio buttons for the user to specify if they want to see Active, Expired, or Both vendors. The existing form is a multirow database block and a single-row detail database block. Users query in the multirow block. I created a QRY_CONTROL non-database block with the radio group and a couple other variables. When they select a radio button, the WHEN-RADIO-CHANGED changes the default block's where clause.

My problem is that the radio buttons cannot be changed in ENTER-QUERY mode. If they cancel the query, the buttons work as expected. I put in a couple messages and the trigger isn't even firing, so I ruled out a code problem I think.I checked to make sure that the group properties are Enabled=true, mouse_navigable=true, query_allowed=true.

View 2 Replies View Related

Forms :: Login Page Value Disappear When Enter 2nd Record?

Jan 30, 2012

display value from login page to call another form first time value is appear when I enter new 2nd record that the time call value disappear.I means user name fix it when i create new record.

this is my code for pre-insert trigger block level

:PLACE_FROM:=:parameter.mc_name;
:SRECEIVER_NAME:=:parameter.USER_NAME;

View 5 Replies View Related

Forms :: Enter-Query Mode - One Item In A Block Is Not Getting Cleared

May 24, 2010

I have a form in which there are three blocks A,B and C. When I press F7, the form enters Enter-Query Mode and all blocks clear except block A's one item. Say, Block A has 5 items, Item1, Item2,.. Item5. When I enter Enter-Query mode, Item2 of block A is not cleared and rest all are cleared.

View 2 Replies View Related

Forms :: How To Force User To Enter Exactly 3 Digits Into Number Field

Mar 28, 2011

There is a text item on my form with NUMBER data type. I want to force the user to enter exactly 3 digits in to that text item. My current FORMAT MASK is set to 990. But this allows user to enter even a single digit where as my requirement is user should enter exactly 3 digits. Can we achieve this by changing the FORMAT MASK property?

View 6 Replies View Related

Forms :: Can't Navigate Out Of Current Block In Enter Query Mode

May 11, 2010

I have a form with multiple tabs, each tab showing one data block. Many of the blocks are standard in enter-query mode. I want to allow the users to navigate through the tabs while the blocks are in enter-query mode.how can i do this?

View 3 Replies View Related

Forms :: Block Status When User Presses Enter Query Key

Feb 28, 2012

Is it possible to get the status of form or block every time? I mean if user presses Enter query key, it should display some status and if user presses execute query key then it should reflect some status. If user update any then it should reflect.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved