473,405 Members | 2,272 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,405 software developers and data experts.

When will a query run?

I'm running a query within MS-Access and pass it on to excel.
I would like the query to run without having to open MS-Access.
Therefore i am trying to figure out when MS-Access runs the query or
how do I control it when it runs.
Do I make my self clear?

Regards,
Philehof

Nov 13 '05 #1
4 1230
<ph******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I'm running a query within MS-Access and pass it on to excel.
I would like the query to run without having to open MS-Access.
Therefore i am trying to figure out when MS-Access runs the query or
how do I control it when it runs.
Do I make my self clear?

Regards,
Philehof

You do not need to open Access at all. You can either write vba code within
your Excel workbook to get the data automatically, or if you don't want to
use code, use MS Query. From Excel select Data>Import External Data>New
Database Query - then it should be easy to follow the steps. You can then
select when you want it to update, eg when the workbook is opened, or
perhaps every 2 minutes.
Nov 13 '05 #2
thanks for your answer.

I allready retreive data in excel via Oledb (i think it's oleDB). I
just wondered how to adjust the speed that is used to update the data
in excel.

I figured the following:

I used tools -> options -> advanced -> update interval (translated from
danish, might not be correct translated).
I set it to 30 sec. can someone confirm that that is the right place to
set the interval for updates?

Regards,
Philehof

Nov 13 '05 #3
"Philehof" <ph******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
thanks for your answer.

I allready retreive data in excel via Oledb (i think it's oleDB). I
just wondered how to adjust the speed that is used to update the data
in excel.

I figured the following:

I used tools -> options -> advanced -> update interval (translated from
danish, might not be correct translated).
I set it to 30 sec. can someone confirm that that is the right place to
set the interval for updates?

Regards,
Philehof


No - it isn't. Tools>Options>Advanced is in MS Access. You do not need to
open Access - you do not need to have this program on your computer - and
you cannot speed anything up by changing any settings here. It is not
Access which pushes the data out - it is Excel that pulls it in.
In Excel, Right-click any toolbar and choose to show the "External Data"
toolbar. Then select the data range and from the toolbar select the Data
Range Properties. It is here that you can set the refresh interval.
If you want to see it work, set the refresh interval to 1 minute and open
the database, as you change the data in the .mdb file you will see it get
automatically refreshed on you Excel spreadsheet.


Nov 13 '05 #4
Thanks, your answer is very useful for me. Especially the part about
pull and push.

Regards,
Philehof

Nov 13 '05 #5

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

Similar topics

13
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP (running off Apache 1.3.31 w/ PHP 5.0.1) to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using...
5
by: Jerome | last post by:
Hi, I've got the following problem: I want my ASP page to display a certain number (based on a COUNT query), it works fine if the result is at least 1! If there are no records to be counted...
3
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and...
13
by: Jan | last post by:
Hi I have a database that I use to keep track of the sales promotions that we send to companies. I normally send a mailing based on a subset of the companies in the database (found using the...
0
by: Giulio Santorini | last post by:
Hi, I've got two drop down list controls. When I select a value from the first one I fill the second one. And when I select a value from the second one I would like to fill another control. But...
6
by: Brian Henry | last post by:
is there a way to tell when the database connection is retrieveing data? i saw the connectionstate.fetching enumerated value, but of course it's not implemented yet... is there another way to do...
10
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaac11/html/acfctNZ_HV05186465.asp "If the value of the variant argument is Null, the Nz function returns the number zero or a...
10
by: Robert | last post by:
How do you get an accurate count of the number of records returned from a query when using linked tables. I have an access 2003 database as a front end to another access 2003 database that...
5
by: Bob Bridges | last post by:
Start with two tables, parent records in one and child records in the other, a one-to-many relationship. Create a select statement joining the two. Display the query in datasheet mode. When I...
3
dlite922
by: dlite922 | last post by:
I'm building a dynamic reporting system. The report can of course query multiple tables. The query declares which tables it will access, the fields that it needs for display, and the dependent...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
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,...

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.