PC Review


Reply
Thread Tools Rate Thread

Re: How to Capture MS Access close event ?

 
 
Douglas J. Steele
Guest
Posts: n/a
 
      26th Aug 2003
There is no Access Close event. The closest you can come is to have a form
open (it can be hidden), and put the logic you'd want in the Access Close
event into the form's Close event.

And no, I won't send this to your e-mail. When you post your question to the
newsgroup, you're expected to come back to the newsgroup to get your answer.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele


"Mustaq" <(E-Mail Removed)> wrote in message
news:004001c36ab3$82edab10$(E-Mail Removed)...
> Hi,
>
> I need to capture close of MS Access application, But not
> form.
>
> Please let me know How at (E-Mail Removed)
>
>
> Regards,
> Mustaq



 
Reply With Quote
 
 
 
 
Mustaq Hussain
Guest
Posts: n/a
 
      28th Aug 2003
Hi Doug Steel,

Thanks a lot for your reply, how do you hide a form in
Access.

Regards,
Mustaq






>-----Original Message-----
>There is no Access Close event. The closest you can come

is to have a form
>open (it can be hidden), and put the logic you'd want in

the Access Close
>event into the form's Close event.
>
>And no, I won't send this to your e-mail. When you post

your question to the
>newsgroup, you're expected to come back to the newsgroup

to get your answer.
>
>--
>Doug Steele, Microsoft Access MVP
>http://I.Am/DougSteele
>
>
>"Mustaq" <(E-Mail Removed)> wrote in message
>news:004001c36ab3$82edab10$(E-Mail Removed)...
>> Hi,
>>
>> I need to capture close of MS Access application, But

not
>> form.
>>
>> Please let me know How at (E-Mail Removed)
>>
>>
>> Regards,
>> Mustaq

>
>
>.
>

 
Reply With Quote
 
Mustaq
Guest
Posts: n/a
 
      29th Aug 2003
Hi Doug Steele

Thanks a lot!

Regards,
Mustaq


>-----Original Message-----
>It's a parameter you can specify if you open the form

through VBA (using the
>OpenForm method) or from a macro (using the OpenForm

action)
>
>Using the OpenForm method, it's the windowmode:
>
>DoCmd.OpenForm formname[, view][, filtername][,

wherecondition][,
>datamode][, windowmode][, openargs]
>
>
>DoCmd.OpenForm "MyForm", , , , , acHidden
>
>
>--
>Doug Steele, Microsoft Access MVP
>http://I.Am/DougSteele
>
>
>"Mustaq Hussain" <(E-Mail Removed)> wrote in

message
>news:0b3d01c36d40$130fc140$(E-Mail Removed)...
>> Hi Doug Steel,
>>
>> Thanks a lot for your reply, how do you hide a form in
>> Access.
>>
>> Regards,
>> Mustaq
>>
>>
>>
>>
>>
>>
>> >-----Original Message-----
>> >There is no Access Close event. The closest you can

come
>> is to have a form
>> >open (it can be hidden), and put the logic you'd want

in
>> the Access Close
>> >event into the form's Close event.
>> >
>> >And no, I won't send this to your e-mail. When you post

>> your question to the
>> >newsgroup, you're expected to come back to the

newsgroup
>> to get your answer.
>> >
>> >--
>> >Doug Steele, Microsoft Access MVP
>> >http://I.Am/DougSteele
>> >
>> >
>> >"Mustaq" <(E-Mail Removed)> wrote in message
>> >news:004001c36ab3$82edab10$(E-Mail Removed)...
>> >> Hi,
>> >>
>> >> I need to capture close of MS Access application, But

>> not
>> >> form.
>> >>
>> >> Please let me know How at (E-Mail Removed)
>> >>
>> >>
>> >> Regards,
>> >> Mustaq
>> >
>> >
>> >.
>> >

>
>
>.
>

 
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
Capture close excel event in .xla Tournifreak Microsoft Excel Programming 5 15th Jul 2008 12:44 PM
Capture application close event Tom Grillot Microsoft Access 2 3rd Feb 2006 11:40 PM
Capture Close Button Event John Microsoft Dot NET Framework Forms 3 29th Oct 2005 02:10 AM
Capture the Browser Close event =?Utf-8?B?QmlsbCBNYW5yaW5n?= Microsoft ASP .NET 4 8th Mar 2005 02:15 AM
Capture the before close event Yahya Saad Microsoft Outlook Program Addins 2 8th Nov 2004 09:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:03 PM.