473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Adding a Quit to a Macro using Visual Basic

I have a number of databases which are linked to one central datastore.
When we are running updates on the central store we remove a 'false' value
in the autoexecs of all the related databases which causes them to quit. We
currently do this manually which can be a bit annoying....is there a way to
do it automatically?

Any ideas would be greatly appreciated.

Thanks,

John
Nov 13 '05 #1
2 1278
Search this newsgroup for the "KickEmOff" (or "KickEmOut") routine.
It's not exactly what you're asking for, but it works _really_ well,
and it's used by quite a number of people.

If memory serves, Arvin Meyer first posted it here in CDMA sometime in
1999 or 1998.
John Ortt wrote:
I have a number of databases which are linked to one central datastore.
When we are running updates on the central store we remove a 'false' value
in the autoexecs of all the related databases which causes them to quit. We
currently do this manually which can be a bit annoying....is there a way to
do it automatically?


Nov 13 '05 #2
Arvin's got it posted at http://www.datastrat.com/Download2.html

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Chuck Grimsby" <c.*******@worldnet.att.net> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Search this newsgroup for the "KickEmOff" (or "KickEmOut") routine.
It's not exactly what you're asking for, but it works _really_ well,
and it's used by quite a number of people.

If memory serves, Arvin Meyer first posted it here in CDMA sometime in
1999 or 1998.
John Ortt wrote:
I have a number of databases which are linked to one central datastore.
When we are running updates on the central store we remove a 'false'
value
in the autoexecs of all the related databases which causes them to quit.
We
currently do this manually which can be a bit annoying....is there a way
to
do it automatically?

Nov 13 '05 #3

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

Similar topics

1
by: David Conorozzo | last post by:
I create a new Access.Application instance. As soon as I refernce the property "References", I am unable to issue a truly successful quit on that instance. By that I mean the call to quit is fine...
1
by: Chasing Gates | last post by:
I have created a database that brings in a new table weekly. I then made a separate query for each sales rep and a separate report for each rep. (The reports are all identical but call different...
3
by: ET | last post by:
I don't know whats the problem, but after I added functions to first verify, then relink linked tables if not found, now I can't convert that database to MDE format. I can split the database, but...
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
2
by: CR | last post by:
How do you "step into" an excel macro when using the VB.NET debugger? I'm using excel 2000. Here's is how I did it with VB6: Dim objExcel As Excel.Application objExcel = New...
3
by: kscheu via AccessMonster.com | last post by:
I am using OutputTo to export a query to excel, prompt the user to save as and then open the excel file. See below: DoCmd.OutputTo acOutputQuery, "q701ExportFields", acFormatXLS, , True 'Opend...
10
by: dudeishfish | last post by:
Hey Everyone! After using Devshed (possibly the worst forum I have ever encountered) I have come here with my questions and answers about Java, Python, VB, Basic C++, HTML, Game Maker, and...
3
MMcCarthy
by: MMcCarthy | last post by:
Although some users find Macros simple and easy to use, there are some major limitations to using them. Although you can use macros to perform tasks, there is limited control on when and how those...
1
by: asedt | last post by:
I made this progarm in Visual studio 2005 vith COM Interop, I want to change the program so it does'n turn of excel and let the user control the application insted after the macro have run. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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,...

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.