Re: Callback Function requery problem in A97
- From: "Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx>
- Date: Sat, 21 Apr 2007 04:12:59 GMT
While I think of it, do you know any use for the acLBClose case? I
have never seen it called. Is there a purpose to this or just an idea
that got ditched in the development of Access ("We thought it was good
at the time......")??
As I said, that event must get fired when you close the form.....
I mean, it likely similar to the terminate event of a class object.
So, for example, you would use this event to close the reocrdet, or free up
the memory used by a possible large array. So, this event is thus to clean
up, and un-load all the stuff you did in the initialize event.
After that form closes, all those resources and memory and reocrdsets you
are using should be closed down and the resources returned to the system.
So, it just like a terminate event in a class object.
That event will fire when you close the form. I mean, you could put the code
to clean things up in the forms close event, but makes more sense to place
the code in the call-back routine (since that the place where you have the
initialize event that loaded up all that data).
So, that event is just the "other" side, or "opposite" event of the
initialize.
It is just a event available for you to clean up your resources and close
down things. You might for example send the data to a array, and thus need
to clear out that array when the form closes.
So, that event fires when the form closes, but I suspect there are other
possible cases to make it fire..
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
.
- References:
- Callback Function requery problem in A97
- From: The Frog
- Re: Callback Function requery problem in A97
- From: Albert D. Kallal
- Re: Callback Function requery problem in A97
- From: The Frog
- Re: Callback Function requery problem in A97
- From: Albert D. Kallal
- Re: Callback Function requery problem in A97
- From: The Frog
- Callback Function requery problem in A97
- Prev by Date: Re: Query By Form Using Same Sub Form and Main Form
- Next by Date: Migration and authorisations
- Previous by thread: Re: Callback Function requery problem in A97
- Next by thread: Re: Callback Function requery problem in A97
- Index(es):
Relevant Pages
|
Loading