473,513 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Button closing database AND exit Access, how?

I have a button which exits the database, but it actually Closes the
base, because Access is still active. How to have it exitting the
Access app. as well?

Nov 13 '05 #1
2 21126
Application.Quit acExit

Nov 13 '05 #2
DoCmd.Quit acSavePrompt

acSavePrompt can be replaced by acSaveAll or acSaveNone if required.

--
HTH
Van T. Dinh

"AA Arens" <ba***********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have a button which exits the database, but it actually Closes the
base, because Access is still active. How to have it exitting the
Access app. as well?

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2579
by: dustin lee | last post by:
Over the years I've gotten out of the habit of explicitly closing file objects (whether for reading or writing) since the right thing always seems to happen auto-magically (e.g. files get written...
2
1584
by: Hans | last post by:
Greetings! I want to have a client on location have access to a database that I have on my server. He needs to be able to add data, delete data, view data. Ideally I would like that the...
1
1828
by: xpcer | last post by:
Hello Everyone, anybody know, how to convert an mysql database to access? may be use an application?
0
1752
by: Ima Loozer | last post by:
I would like to be able to remove (or disable) the restore down button on the main Access window. Can someone help me with this please? Thanks, DB
3
22616
by: Robert | last post by:
I understand that new features would not be available but is there any way I could open an accdb database in Access 2003? Robert
1
1663
by: jamesdel | last post by:
Hi I know how to disable the close button of the main access window. But i am not able to disable the maximum button. Can anyone help me in this regard. It certainly needs API function calling...
8
13006
by: shalakap | last post by:
hi All!!!!!!!!!! i m trying to place command button on reports in access but it doesnt show the onclick event to connect it with macro or procedure. secondly,i tried to place hyperlink on report...
2
3988
by: dstork | last post by:
Anyone know how to rename the "Exit Access" command at the bottom of the Office menu. I'd like to rename it to "Exit" as I had done in previous versions of Access. I know I can disable it with ...
1
5408
by: DKF9 | last post by:
Hi. I need some help in transferring data from a Lotus Approach database into Access. I have a field in Approach that is like a memo field in Access. There are many lines of data for each row....
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5697
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.