Re: Pass a variable to another form
From: tina (nospam_at_address.com)
Date: 05/25/04
- Next message: TPratt: "Re: Open Application with window maximised"
- Previous message: MikeB: "Re: Calendar coding"
- In reply to: Dirk Goldgar: "Re: Pass a variable to another form"
- Next in thread: Marshall Barton: "Re: Pass a variable to another form"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 20:40:09 GMT
thanks for the info, and book referral, Dirk - i really appreciate your
time! :)
"Dirk Goldgar" <dg@NOdataSPAMgnostics.com> wrote in message
news:%238xf4roQEHA.132@TK2MSFTNGP09.phx.gbl...
> "tina" <nospam@address.com> wrote in message
> news:d_Lsc.66477$hH.1192243@bgtnsc04-news.ops.worldnet.att.net
> >> public variables will lose
> >> their values if something -- an unhandled error, for example --
> >> causes the VB project to be reset.
> >
> > okay, how do i know if the project is reset? is it an automatic
> > thing? i mean, if i get an error while running code, does the VB
> > project always reset at that time? and if i use standard error
> > handling with the On Error GoTo, and a msgbox with the error# and
> > description, and a Resume to the Exit part of my handler, is the
> > error then considered "handled" by Access?
> > again, sorry so wordy, just want to understand this. maybe you could
> > recommend some reading i should do - i know you don't want to write
> > me a book! :)
>
> I am not an expert on this, but as I understand it, the only time the
> error is considered "unhandled" is when Access displays its default
> error dialog. If there's an On Error statement in effect, whether it's
> "On Error Resume ..." or "On Error GoTo ..." (except "GoTo 0"), that
> error would be considered "handled".
>
> The _Access <version> Deveoper's Handbook_ from Sybex has a fairly
> extensive chapter on error-handling.
>
> --
> Dirk Goldgar, MS Access MVP
> www.datagnostics.com
>
> (please reply to the newsgroup)
>
>
- Next message: TPratt: "Re: Open Application with window maximised"
- Previous message: MikeB: "Re: Calendar coding"
- In reply to: Dirk Goldgar: "Re: Pass a variable to another form"
- Next in thread: Marshall Barton: "Re: Pass a variable to another form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|