opening more forms. [message #87272] |
Wed, 15 December 2004 21:42 |
Riaz
Messages: 112 Registered: February 2002
|
Senior Member |
|
|
Hi all.. I have three check boxes on a block. If any number of
these check boxes are checked, then the same no of related forms should be opend simultaniouly...i.e. one after another
another.. Please give me example with sample code...I need it
badly....... Riaz
|
|
|
Re: opening more forms. [message #87276 is a reply to message #87272] |
Wed, 15 December 2004 22:44 |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Make use of OPEN_FORM built in to open your forms.
I.e. when checkbox checkIf checkbox 1 is checked then
Open_form('FORM_NAME',NO_ACTIVATE);
& so on.
HTH
Regards
Himanshu
|
|
|
Re: opening more forms. [message #87277 is a reply to message #87276] |
Wed, 15 December 2004 23:14 |
Riaz
Messages: 112 Registered: February 2002
|
Senior Member |
|
|
But my problem is that if two out of three check boxes are checked...I want to open two forms. ie
1. open the first form (for which checkbox1 was checked)
.
and then
2. (After closing the first form), Form2(for which check box2 was checked) should be opened.
and so on......Please guide me...Also note that there are approx. 20 check boxes on my first form.
Simply I want to [color=RED]keep track of all the CHECKED check boxes and and want to open related forms
simultaniously. But ONLY AFTER CLOSING the previous one[/color]
Riaz
|
|
|
Re: opening more forms. [message #87362 is a reply to message #87277] |
Wed, 22 December 2004 21:42 |
Ibrahim Okosh
Messages: 2 Registered: December 2004
|
Junior Member |
|
|
U must know that when u use open_form like u use any subroutin so after calling'open_form statement' but
Condition like this example:-
begin
open_form('form_name1',no_validate);
if chick_box2=1 then
--chick_box2=1 mean that check box checked
open_form('form_name2',no_validate);
end if;
if chick_box3=1 then
open_form('form_name3',no_validate);
end if;
--- and so on
end;
|
|
|