Link to home
Start Free TrialLog in
Avatar of Dalexan
DalexanFlag for Afghanistan

asked on

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.

Avatar of dqmq
dqmq
Flag of United States of America image

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

 me.requery  

ASKER CERTIFIED SOLUTION
Avatar of dqmq
dqmq
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dalexan

ASKER

I setup the timer but its not refreshing the query behind the subforms
Avatar of Dalexan

ASKER

Also is it possible to change the font size of datasheet view within the form?
Avatar of Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
for the sub forms include a line like this:

 Me.SubFormConyrolName.Form.Requery  


Avatar of Dalexan

ASKER

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of Dalexan

ASKER

Thanks now all that's left is to install virtualbox I'n ubuntu server and get this app working I'n there.