Please help with variable please and show how clever you are.
Hi,
Simple scenario...
Form A
Form B
If you run form A an alert comes up saying "You have run form A"
If you open form A from form B, I want the alert to say "You run form A from form B"
In simple terms the code should be
When in form A make a variable called, lets say, xxa=1 and carry it over to form B
when in form B say
(if xxa=1 then
alert "You run form A from form B"
else
alert "You have run form A")
Could one of you clever people show me the correct script for this problem
Thanks in advance
Nigel