Re: developer 2000...global variables
Date: Wed, 29 Mar 2000 01:18:01 GMT
Message-ID: <38E159C0.33C8A2F1_at_musica.mcgill.ca>
[Quoted] This probably needs to be in both forms:
Default_Value('y',global.directory');
If it doesn't exist it will be created.
Mike
ssharma24_at_my-deja.com wrote:
> I am using call-form built in:
> Form ‘A’ calls form ‘B’
>
> I initialize a global variable in Form A
> Saying :
> :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 29 2000 - 03:18:01 CEST