Re: Callback Function requery problem in A97



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


.



Relevant Pages

  • Session_OnEnd not firing sometimes?
    ... app. ... This is problematic because some clean up of resources happens ... What kind of scenarios would case Session_OnEnd not to fire? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Are you as gay as you look?
    ... Aaaaaa NO. HEhehehehehe hey Bevis he/she said scumbag. ... Yeh yeh yeh yehe FIRE, ... Never depart a carpenter! ... Don't try to clean familiarly while you're ...
    (sci.astro.amateur)
  • Re: Are you as gay as you look?
    ... Aaaaaa NO. HEhehehehehe hey Bevis he/she said scumbag. ... Yeh yeh yeh yehe FIRE, ... Never depart a carpenter! ... Don't try to clean familiarly while you're ...
    (sci.physics)
  • Re: Garbage Colletor
    ... Not only is it much less error-prone than people ... the RAII paradigm itself is a cleaner design compared to ... It's extremely easy to handle resources in C++ as you stated but the ... By clean I mean it's ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: washing keyboard
    ... Smoke and powdered fire agents are ... motors and optical devices would be hard to clean and are ... I'm glad you brought up the point about the kind of water. ... Keyboards had the top cover removed. ...
    (microsoft.public.windowsxp.hardware)

Loading