PC Review


Reply
 
 
Tom
Guest
Posts: n/a
 
      18th May 2006
Hi all,

I have a button to close my database:

Private Sub cmdExit_Click()
CloseCurrentDatabase
End Sub

I want that button to close access too, what code should I put in order to
acheive that?

Thanks,
Tom


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UyBQYW5qYQ==?=
Guest
Posts: n/a
 
      18th May 2006
Shouldn't you Quit rather than Close?
--
***************************
If the message was helpful to you, click Yes next to Was this post helpful
to you?
If the post answers your question, click Yes next to Did this post answer
the question?


"Tom" wrote:

> Hi all,
>
> I have a button to close my database:
>
> Private Sub cmdExit_Click()
> CloseCurrentDatabase
> End Sub
>
> I want that button to close access too, what code should I put in order to
> acheive that?
>
> Thanks,
> Tom
>
>
>

 
Reply With Quote
 
=?Utf-8?B?TWljaGFlbCBI?=
Guest
Posts: n/a
 
      18th May 2006
Application.Quit



"Tom" wrote:

> Hi all,
>
> I have a button to close my database:
>
> Private Sub cmdExit_Click()
> CloseCurrentDatabase
> End Sub
>
> I want that button to close access too, what code should I put in order to
> acheive that?
>
> Thanks,
> Tom
>
>
>

 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      18th May 2006
Yes, Thank you
"S Panja" <(E-Mail Removed)> wrote in message
news:C33D9AC0-BB9C-4C5A-9B9C-(E-Mail Removed)...
> Shouldn't you Quit rather than Close?
> --
> ***************************
> If the message was helpful to you, click Yes next to Was this post helpful
> to you?
> If the post answers your question, click Yes next to Did this post answer
> the question?
>
>
> "Tom" wrote:
>
>> Hi all,
>>
>> I have a button to close my database:
>>
>> Private Sub cmdExit_Click()
>> CloseCurrentDatabase
>> End Sub
>>
>> I want that button to close access too, what code should I put in order
>> to
>> acheive that?
>>
>> Thanks,
>> Tom
>>
>>
>>



 
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
Acess 2003 concurrent with acess 2007 Scott Microsoft Access 4 3rd Mar 2009 04:36 AM
Protect the acess to a table in Acess 2007 Jorge Microsoft Access 0 12th Mar 2008 04:21 PM
What problems should we expect with Acess 2003 db on aa Acess 2000 ? Will Microsoft Access 5 23rd Mar 2006 12:14 AM
Clear Checkbox field on close of form or close of report =?Utf-8?B?QnJvb2s=?= Microsoft Access Form Coding 2 14th Jan 2006 09:31 PM
Excel shoud not close all active books when clicking close button =?Utf-8?B?dGVjaG5vbWlrZQ==?= Microsoft Excel Misc 0 10th Jun 2005 05:35 PM


Features
 

Advertising
 

Newsgroups
 


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