Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Update access form every 3 seconds

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
Dalexan
Asked:
Dalexan
  • 4
  • 3
  • 2
2 Solutions
 
dqmqCommented:
No eye candy from me.  But, you can add an event to the form's timer property and do this:

 me.requery  

0
 
dqmqCommented:
Specifically, I meant the main form's on timer event.  You also need to set the timer interval 3000 = 3 seconds
0
 
DalexanAuthor Commented:
I setup the timer but its not refreshing the query behind the subforms
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
DalexanAuthor Commented:
Also is it possible to change the font size of datasheet view within the form?
0
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
for the sub forms include a line like this:

 Me.SubFormConyrolName.Form.Requery  


0
 
DalexanAuthor Commented:
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
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
for the sub forms include a line like this:

 Me.SubFormConyrolName.Form.Requery  

Open in new window



Boyd Trimmell
Microsoft MVP - Access Exprt
0
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
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
 
DalexanAuthor Commented:
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now