How do I set form visible from another form

How do I set form visible from another form

am 11.01.2008 19:13:19 von Thelma Lubkin

If I close and reopen the form I lose its changes even if I set acSave
to yes when closing.

So I'm trying to keep the form open throughout but making it visible
only when necessary.

So how can I set the visible property from code in the calling form?

thanks, --thelma

Re: How do I set form visible from another form

am 11.01.2008 20:50:59 von fredg

On 11 Jan 2008 18:13:19 GMT, Thelma Roslyn Lubkin wrote:

> If I close and reopen the form I lose its changes even if I set acSave
> to yes when closing.
>
> So I'm trying to keep the form open throughout but making it visible
> only when necessary.
>
> So how can I set the visible property from code in the calling form?
>
> thanks, --thelma

Forms!FormName.Visible = false
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Re: How do I set form visible from another form

am 11.01.2008 21:07:15 von Thelma Lubkin

fredg wrote:
: On 11 Jan 2008 18:13:19 GMT, Thelma Roslyn Lubkin wrote:

:> If I close and reopen the form I lose its changes even if I set acSave
:> to yes when closing.
:>
:> So I'm trying to keep the form open throughout but making it visible
:> only when necessary.
:>
:> So how can I set the visible property from code in the calling form?
:>
:> thanks, --thelma

: Forms!FormName.Visible = false
: --

Then I must have another problem. This hasn't been working for
me. The name has no spaces, but it has some capitalization.
If I type it with incorrect capitalization I don't get the
autocorrect version. But when I put that same name in quotes and
use it in a docmd.openform statement, it has no trouble opening it.
--thelma

: Fred
: Please respond only to this newsgroup.
: I do not reply to personal e-mail