Home » Developer & Programmer » Forms » CAlling form please help!!!!!!!!!!!!!
CAlling form please help!!!!!!!!!!!!! [message #80224] Tue, 27 August 2002 05:40 Go to next message
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 Go to previous messageGo to next message
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');
Re: CAlling form please help!!!!!!!!!!!!! [message #80293 is a reply to message #80224] Wed, 04 September 2002 00:52 Go to previous message
Sameer
Messages: 60
Registered: March 1998
Member
Im doin these same things in my Finance Application of Drilling thru one form to another.Pls make use of Parameters between these forms.Wich will help u by chekin the values of parameters.
Previous Topic: lov+insert
Next Topic: Manipulation of Text in the STATUS BAR!!!!!!!
Goto Forum:
  


Current Time: Thu Mar 28 09:51:29 CDT 2024