Home » Developer & Programmer » Forms » A few combinations of opening and closing forms
A few combinations of opening and closing forms [message #306719] Sun, 16 March 2008 03:24 Go to next message
*munnabhai*
Messages: 157
Registered: March 2008
Location: Riyadh
Senior Member
I WANNA TO WRITE A CODE ON PUSH_BUTTON

CLOSE OR EXIT ONE FORM AND OPEN ANOTHER WITH CALL_FORM I CAN CALL ANOTHER FORM BUT THE CURRENT FORM STAY IN BACKGROUND AND HIDE.

EXIT FORM WILL EXIT WHOLE PROCESS AND CANN'T CALL THE SECOND FORM

CAN ANYONE WRITE THE CODE please

REGARDS

[MERGED by LF]

[Updated on: Mon, 17 March 2008 05:08] by Moderator

Report message to a moderator

Re: PUSH BUTTON CODE [message #306727 is a reply to message #306719] Sun, 16 March 2008 05:26 Go to previous messageGo to next message
sathyanambady
Messages: 10
Registered: September 2007
Location: Oman
Junior Member

Hi,

Did you try with open_form
try it out and tell me if it works...
Re: PUSH BUTTON CODE [message #306742 is a reply to message #306719] Sun, 16 March 2008 08:48 Go to previous messageGo to next message
*munnabhai*
Messages: 157
Registered: March 2008
Location: Riyadh
Senior Member
Hi Sathyanambady,

Yes I tried open_form also but same it was hiding in background.

see im updating one table as mention below then commiting record after commiting record i wanna to hide form A and calling form B its was calling but hiding form a in background..i wanna to exit the form A and calling form B how can i do this?

UPDATE USER_MASTER SET STATUS='Y' WHERE USERNAME=A;
COMMIT_FORM;
--Exit_form;
Message('You have no unsaved changes outstanding.');
CALL_FORM(GETPATH||'MAIN_MENU',hide);
CLEAR_RECORD;
RAISE FORM_TRIGGER_FAILURE;

Regards

Re: PUSH BUTTON CODE [message #306753 is a reply to message #306719] Sun, 16 March 2008 09:49 Go to previous messageGo to next message
*munnabhai*
Messages: 157
Registered: March 2008
Location: Riyadh
Senior Member
No buddy knows how to do this???????//

common guyz cheerz it up........help plzzzzz
Re: PUSH BUTTON CODE [message #306839 is a reply to message #306753] Mon, 17 March 2008 01:37 Go to previous messageGo to next message
akramrabaya
Messages: 41
Registered: November 2007
Member
you can use new_form


new_form('form_name');





akram
FORM A & FORM B [message #306894 is a reply to message #306719] Mon, 17 March 2008 03:32 Go to previous messageGo to next message
*munnabhai*
Messages: 157
Registered: March 2008
Location: Riyadh
Senior Member
ANY SUGESSTION

if Form_A calls Form_B, then Form_B cannot close Form_A.

THEN HOW TO CLOSE FORM A?


REGARDS
Re: FORM A & FORM B [message #306924 is a reply to message #306894] Mon, 17 March 2008 05:23 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Please, do not open a new topic for a question which is very similar to one you've opened previously. Also, take a look at OraFAQ Forum Guide. Do not write the whole message using capital letters (see netiquette guidelines).

As of your question(s): did you research use of OPEN_FORM, CALL_FORM and NEW_FORM built-ins? Check what each of them does and when to use them. Perhaps you'll find something useful.
Re: FORM A & FORM B [message #306996 is a reply to message #306894] Mon, 17 March 2008 08:24 Go to previous message
akramrabaya
Messages: 41
Registered: November 2007
Member
but when u use
new_form('b') ;

that will close form a and open a new from b and form a will not be any where in backgroud isn't what u want !!! ?????



akram
Previous Topic: forms
Next Topic: trigger for closing a form
Goto Forum:
  


Current Time: Wed Dec 07 20:04:08 CST 2016

Total time taken to generate the page: 0.09690 seconds