A few combinations of opening and closing forms [message #306719] |
Sun, 16 March 2008 03:24  |
*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 #306742 is a reply to message #306719] |
Sun, 16 March 2008 08:48   |
*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: FORM A & FORM B [message #306996 is a reply to message #306894] |
Mon, 17 March 2008 08:24  |
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
|
|
|