developer 2000...global variables

From: <ssharma24_at_my-deja.com>
Date: 2000/03/01
Message-ID: <89htmu$ocb$1_at_nnrp1.deja.com>#1/1


I am using call-form built in:
Form ‘A’ calls form ‘B’

[Quoted] [Quoted] I initialize a global variable in Form A Saying :
[Quoted] :global.directory := ‘y’;

then in “when new form instance” trigger of form B, I put an if statement saying :
If (:global.directory = ‘y’) then……statements…

So, that when form B is called, Form B will know that it’s been called from form A.

This works fine when I call form B from form A.

The problem arises when I try to use only the form B (i.e. when I am not calling it from A). At this time it gives me an error saying that :error frm-40785 :global.directory variable does not exist.

Please help..

Thanks…

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Mar 01 2000 - 00:00:00 CET

Original text of this message