Re: How to shut off ALL Menus ?
- From: "Rick Brandt" <rickbrandt2@xxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 02:34:11 GMT
ApexData@xxxxxxxxx wrote:
Thankyou for the response.
The suggestion of OnUnload or OnClose of the form does not work
for me, because my VARIABLES LOSE THEIR VALUES in those
states? These two publicly defined Variables get assigned in the
Module1 module and work perfectly throughout the app, but lose
their value without reason, in the unload of the form?
There is no specific reason for a public variable to lost its value in these
events. In an MDB though public variables can lose their value when an
unhandled error occurs. Many developers avoid this problem by using hidden
TextBoxes or TextBoxes on hidden forms instead of public variables.
Since you need a hidden form for its Close/Unload event then you have a
perfectly logical container for such TextBoxes.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
.
- Follow-Ups:
- Re: How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- Re: How to shut off ALL Menus ?
- References:
- How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- Re: How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- Re: How to shut off ALL Menus ?
- From: Rick Brandt
- Re: How to shut off ALL Menus ?
- From: ApexData@xxxxxxxxx
- How to shut off ALL Menus ?
- Prev by Date: Re: Why?
- Next by Date: Re: Database corrupted error
- Previous by thread: Re: How to shut off ALL Menus ?
- Next by thread: Re: How to shut off ALL Menus ?
- Index(es):
Relevant Pages
|