CAlling form please help!!!!!!!!!!!!! [message #80224] |
Tue, 27 August 2002 05:40 |
aish
Messages: 44 Registered: March 2001
|
Member |
|
|
Hi,
I am calling a form3 from form2 which inturn is called by form1
I want to accomplish this
form3 is called by both form1 and form2.
If form3 is called by form1 then i want the user to be allowed to go to form2.
If the user comes from form1 and then form2 and then form 3 I want to prevent user again going t back to
I want to check at the form3 where the user came from if they came from form1 allow it to go to form2.
If they came from form2 then prevent them from going back to form 2
form2.
Note: (I used get application property calling_forma it is giving me form1 as output in both the cases.)
How do I do this?
Please help
|
|
|
Re: CAlling form please help!!!!!!!!!!!!! [message #80242 is a reply to message #80224] |
Wed, 28 August 2002 18:57 |
me
Messages: 66 Registered: August 2000
|
Member |
|
|
here's my understanding of the your desired flow:
1. form1 -> form2 -> form3 -> form2 (invalid)
2. form1 -> form3 -> form2 -> form3 (valid)
3. form1 -> form3 -> form2 -> form3 -> form2 (invalid)
here's what i did....
form1
button1 : call_form('module2');
button2 : call_form('module3');
form2
button1 : call_form('module3');
form3
new form instance:
if get_application_property(calling_form) = 'MODULE2' then
set_item_property(button1, enabled, property_false);
end if;
button1 : call_form('module2');
|
|
|
|