473,394 Members | 1,813 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,394 software developers and data experts.

How to Trigger Macros in a Access DB from Another Access DB

Hi,

I have three Access Databases, say A, B and Main, in which data flows
between Main and A, Main and B. Within A and B, there are macros that
trigger computation within the databases. I need to call these macros
in A and B from Main database.

My understanding is that ODBC is used for SQL based queries, not for
calling modules or macros within the databases. What should I build
to create a control within the Main database such that it will call a
macro within another database?

Thanks in advance,
Momoko
Nov 13 '05 #1
3 1888
On 24 Jun 2004 20:23:25 -0700, mo*********@hotmail.com (Momoko) wrote:

Automation.

Or if it's just a single invocation, the /x command line argument.

-Tom.

Hi,

I have three Access Databases, say A, B and Main, in which data flows
between Main and A, Main and B. Within A and B, there are macros that
trigger computation within the databases. I need to call these macros
in A and B from Main database.

My understanding is that ODBC is used for SQL based queries, not for
calling modules or macros within the databases. What should I build
to create a control within the Main database such that it will call a
macro within another database?

Thanks in advance,
Momoko


Nov 13 '05 #2
You haven't said whether A and B are back ends (data tables), with a single
front end (forms, reports, etc) Main, or the other way around.
In general, it's usually a better design to have all your computations
together in a single front end database, rather than stored together with
the data.

I'm also a bit concerned that these macros are triggering computation within
the databases.
This sounds as if you are storing calculated values, which is seldom a good
use of the relational capabilities of Access.

HTH
- Turtle

"Momoko" <mo*********@hotmail.com> wrote in message
news:fc*************************@posting.google.co m...
Hi,

I have three Access Databases, say A, B and Main, in which data flows
between Main and A, Main and B. Within A and B, there are macros that
trigger computation within the databases. I need to call these macros
in A and B from Main database.

My understanding is that ODBC is used for SQL based queries, not for
calling modules or macros within the databases. What should I build
to create a control within the Main database such that it will call a
macro within another database?

Thanks in advance,
Momoko

Nov 13 '05 #3
You can use Access Automation, DDE, or Shell to MSACCESS.EXE to
run a macro from a command line.

"Momoko" <mo*********@hotmail.com> wrote in message
news:fc*************************@posting.google.co m...
Hi,

I have three Access Databases, say A, B and Main, in which data flows
between Main and A, Main and B. Within A and B, there are macros that
trigger computation within the databases. I need to call these macros
in A and B from Main database.

My understanding is that ODBC is used for SQL based queries, not for
calling modules or macros within the databases. What should I build
to create a control within the Main database such that it will call a
macro within another database?

Thanks in advance,
Momoko

Nov 13 '05 #4

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

Similar topics

3
by: Rebecca Lovelace | last post by:
For some reason in Enterprise Manager for SQL Server 2000, I cannot put the following line into a trigger: select * into #deleted from deleted When I hit the Apply button I get the following...
9
by: Lauren Quantrell | last post by:
Is there a way to create a text file (such as a Windows Notepad file) by using a trigger on a table? What I want to do is to send a row of information to a table where the table: tblFileData has...
12
by: David Powell | last post by:
Because my work area won't have an Access programmer next year, I've been asked to rebuild their coded application as a set of modular tools. The idea is that a non-programmer will be able to...
4
by: d0wsdkn02 | last post by:
I have an ASP.NET application that performs ADO.NET commands that cause triggers to be run in SQL Server 2000. My question is how would I best access the user ID from my custom .NET Principal in...
4
by: Jim Devenish | last post by:
We have an Access database with Access front-end to Access back-end. Another company has installed a separate application using SQLServer. At present certain information in the first application is...
4
by: Suzette | last post by:
I have an excel file that automatically updates when opened, pulling information from an Access database into into various pivot tables. I created a macro in Access to perform various necessary...
5
by: Salad | last post by:
If I click on the Macros button in the database window there is 1 macro that exists...AutoExec. If I click on the Modules button and enter the VB Editor window there's the menu option Tools. ...
1
by: veasnamuch | last post by:
I have a problem while I create a trigger to my table. My objective is getting any change made to my table and record it in to another table . My have thousands records before I add new trigger to...
20
by: timmg | last post by:
You know, I've had so much fun reading the thread on lookup field's subservience to the Dark One that I thought I'd provoke another, ah, polite discussion on the topic of Macros. I've always...
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: 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
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
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
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
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...

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.