Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Update access form every 3 seconds

Posted on 2011-09-14
9
Medium Priority
?
336 Views
Last Modified: 2012-08-14
DisplayApp.mdb

I have been tasked with designing an access app that will show a form a big TV within a call center. This app will have forms that will need to show updated query results every 3 seconds. I have attached an .mdb with some tables and a form with subforms. I need help with the VBA to update the form every 3 seconds requerying all query's behind each subform on the main form. I'm also looking for any creative input that you can provide to dress up the form and make it eye catching / fun.

0
Comment
Question by:Dalexan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 42

Expert Comment

by:dqmq
ID: 36539720
No eye candy from me.  But, you can add an event to the form's timer property and do this:

 me.requery  

0
 
LVL 42

Accepted Solution

by:
dqmq earned 800 total points
ID: 36539764
Specifically, I meant the main form's on timer event.  You also need to set the timer interval 3000 = 3 seconds
0
 

Author Comment

by:Dalexan
ID: 36539782
I setup the timer but its not refreshing the query behind the subforms
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:Dalexan
ID: 36539824
Also is it possible to change the font size of datasheet view within the form?
0
 
LVL 21
ID: 36539845
for the sub forms include a line like this:

 Me.SubFormConyrolName.Form.Requery  


0
 

Author Comment

by:Dalexan
ID: 36539852
I found the code to change the font size of the datasheet view, I just need help with the timer refreshing the values on the subforms from the query results....and any eye candy help....

Private Sub Form_Load()
    With Me
        .DatasheetFontHeight = 14
        .DatasheetBackColor = RGB(255, 0, 255)
        .DatasheetFontName = "Verdana"
        .DatasheetFontWeight = 700 ' bold
    End With
End Sub
0
 
LVL 21

Assisted Solution

by:Boyd (HiTechCoach) Trimmell, Microsoft Access MVP
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 200 total points
ID: 36539888
for the sub forms include a line like this:

 Me.SubFormConyrolName.Form.Requery  

Open in new window



Boyd Trimmell
Microsoft MVP - Access Exprt
0
 
LVL 21
ID: 36539910
I think the look of datasheet mode is not very eye catching. I never use them. All the user I have ask say that they are "ugly". The most common response.  I agree.  I think the look of a form in continuous mode can be made to be a lot more eye catching.

Boyd Trimmell
Microsoft MVP - Access Exprt
0
 

Author Comment

by:Dalexan
ID: 36540673
Thanks now all that's left is to install virtualbox I'n ubuntu server and get this app working I'n there.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question