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

Automatic Refresh of data from ODBC Database Every 5 Seconds

I have an Access Database set up that is linked to 2 tables in a much larger SQL Server Database through ODBC. The setup is very simple. I have 2 queries and I run 2 reports off of them. I need these reports to refresh every 5 seconds and include the new data. These reports are updated from the query tabs so there are no forms involved, the data is simply updated by our users in the datasheet views for each of the queries. I will be projecting these reports onto the TVs in our suite so that is why I need this automatic updating capability for the reports. Is there any way to set something up to have the reports automatically refresh/regenerate every 5 seconds?

Thanks
Jul 14 '14 #1
4 3805
twinnyfo
3,653 Expert Mod 2GB
Set the timer interval to 5000

In the OnTimer Event:

Expand|Select|Wrap|Line Numbers
  1. Me.Requery
That should about do it....
Jul 14 '14 #2
Rabbit
12,516 Expert Mod 8TB
You can use the Timer event of the report to requery the report.
Jul 14 '14 #3
NeoPa
32,556 Expert Mod 16PB
How about you play with the settings in the Options | Advanced screen. You get there from :
2003 & previous - Tools | Options | Advanced
2007 & subsequent - File | Options | Client Settings (Scroll to near the bottom).

As the default value for ODBC refresh interval (sec) is 1,500 I suspect great care and consideration should be given before setting it too low. Have a play and see what works for you in your own specific scenario.
Jul 14 '14 #4
Thanks for the help!
Jul 15 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Bilal | last post by:
Hi, I'm a complete beginner in Javascript and php ... so forgive me for asking an easy/simple solution to the following problem: I'm developing an application that involves multi-screen in...
1
by: Matthieu Exbrayat | last post by:
Hie all, I am currently using materialized views within Oracle 9i. For instance I create mv1 on DB bddist2, as a snapshot of sur1 on bddist1 : SQL> create materialized view mv1 2 refresh...
2
by: J. Marshall Latham | last post by:
I have a simple page trying to enter three pieces of information into a database using ODBC on a web site that has .NET Framework 1.0, so I have to use this Microsoft.Data.Odbc.dll which has been...
6
by: Randy Yates | last post by:
Hi Folks, I'm looking for something that is completely independent of the MSVC++ Dev Studio environment, something that will compile and run under win32 using the mingw distribution. A class...
1
by: Lau | last post by:
I need to synchronize data between a PocketPC application (C#) and a FileMaker database every time the PocketPC is in it’s cradle. FileMaker has a ODBC-plugin, but SQL.CE unly allow me to...
1
by: matt (ziba) | last post by:
using the Microsoft.Data.Odbc component instead of System.Data.Odbc how do u get a row count using the Microsoft.Data.Odbc.OdbcDataReader ?? and is it best to use Microsoft.Data.Odbc OR...
0
by: Andy Lee | last post by:
System.Data.Odbc namespace is only available in .NET framework 1.1 while Microsoft.Data.Odbc is available in .NET framework 1.0. I heard that the System.Data.Odbc is exact the same as...
3
by: Chris | last post by:
Hi all, I am trying to use System.Data.ODBC to insert a file into a binary field in SQL Server 2000. Now, before you yell at me, the reason I am doing this is that I am only writing intitial...
9
by: Bob Sanderson | last post by:
I'm trying to export a table to an ODBC database using a VBA subroutine. I have tested the ODBC setup manually and it works fine but when I try to do it with VBA, I get a "connection failed" error....
1
by: MFayaz | last post by:
Hello! I have to refresh datagridview when database update , IS there any way to solution that my datagridview auto refresh when any user update database. Thanks in Advance
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.