Home » Developer & Programmer » Forms » ABOUT FUNCTION KEY F7 AND F8
ABOUT FUNCTION KEY F7 AND F8 [message #121235] Fri, 27 May 2005 01:56 Go to next message
MEEENAR
Messages: 72
Registered: May 2005
Location: CHENNAI
Member
Hi

Need some help urgent and important.

I am using form 6i and have made my own toolbar. All the Buttons are doing there defined task very correctly.

However when I go into ENTER-QUERY mode BY PRESSING F7 then IT DOESN'T ALLOWS ME TO PRESS EXECUTE Button EVENTHOUGH THAT BUTTON IS ENABLED
IT PROMPTS ME TO PRESS ONLY F8 TO EXECUTE THE QUERY

From my toolbar Button I wish to Cancel-QUery and come out of ENTER_QUERy mode.

Also in ENTER-QUERY mode with my toolbar Button i cannot execute query however when I Press F8 it shows data.

Also If on my toolbar I press Execute_query button it shows all data.

Point is when in ENTER_QUERY(F7) WHY BUTTON EXECUTE QUERY IS NOT WORKING.


AND ALSO I have written the code to ENABLE all the Buttons when Enter-query button is pressed ,
AND THE BUTTONS ARE ALSO ENABLED.
BUT IF I PRESS THAT BUTTON IT IS NOT PERFORMING ANYTHING...




WHat to do in such cases.

Please help....URGENT

Thks
MEENA



Re: ABOUT FUNCTION KEY F7 AND F8 [message #121302 is a reply to message #121235] Fri, 27 May 2005 09:09 Go to previous message
majid_afra222
Messages: 9
Registered: May 2005
Location: Iran
Junior Member
hi
i use mouse events trigger in form level like this :

DECLARE 
	Item_Name VARCHAR2(30);
BEGIN
  IF (:SYSTEM.MOUSE_ITEM IS NOT NULL) 
     AND (:SYSTEM.MODE = 'ENTER-QUERY') THEN

    Item_Name := INITCAP(SUBSTR(:SYSTEM.MOUSE_ITEM, 
                INSTR (:SYSTEM.MOUSE_ITEM, '.', 1)+1));
    IF (UPPER(Item_Name) IN
        ('EXECUTE_QUERY', 'ABORT_QUERY', 'HELP')) THEN
      GO_ITEM(:PARAMETER.ITEM_NAME);
      DO_KEY(Item_Name);
    END IF;
	
  END IF;
END;


maybe help you to solve your problem.

----
afra

[Updated on: Fri, 27 May 2005 09:23]

Report message to a moderator

Previous Topic: Problem in Translating Spplication from English to Korian.
Next Topic: About Browser Window in Oracle Forms Builder 6i
Goto Forum:
  


Current Time: Fri Nov 08 11:13:32 CST 2024