PC Review


Reply
Thread Tools Rate Thread

Access Close Event: What Order Do Forms Close?

 
 
misseill
Guest
Posts: n/a
 
      14th May 2007
I have created a hidden form that opens when my Access application
opens. I'm using it to capture the application close event. I want
this form to be closed before any other open forms when the user
closes the application. Is there a way to do this? Does Access close
forms in alphabetical order? Or is it "FIFO", so the first opened form
will be the first closed form?

Thanks in advance for your help,

Erika

 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      14th May 2007
misseill wrote:
> I have created a hidden form that opens when my Access application
> opens. I'm using it to capture the application close event. I want
> this form to be closed before any other open forms when the user
> closes the application. Is there a way to do this? Does Access close
> forms in alphabetical order? Or is it "FIFO", so the first opened form
> will be the first closed form?
>
> Thanks in advance for your help,
>
> Erika


First form opened will be the LAST form closed. That is normally what you
want for detecting application close.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
docmd.close forms - doesn't close the form Wuelf Microsoft Access Reports 1 18th Nov 2008 02:05 PM
How to close the parent and all child forms together at once when click on parent window's close button X. VBLearner Microsoft VB .NET 2 25th Sep 2006 05:57 AM
What VBA is used to close all forms open by clicking "x" close =?Utf-8?B?VmFsZXJ5MjEwNQ==?= Microsoft Access VBA Modules 1 25th May 2006 09:20 PM
Graph reverse order changes series order but not legend order biddlea Microsoft Excel Misc 0 13th Aug 2004 12:48 PM
All Forms Close on DoCmd.Close Karen Microsoft Access Form Coding 4 22nd Mar 2004 09:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:19 PM.