DashBoard Refresh produces RunTime Error 2118

bconner

Registered User.
Local time
Today, 08:27
Joined
Dec 22, 2008
Messages
183
I have two different Subforms (Graphs) that are based on the same table. Basically I am using them as Dashboards that update every 25 seconds. As long as the focus stay on the 1 rst Dashboard there are no problems but once I click on the Tab that has the second subform I get RunTime Error 2118 'You must save the current field before you run the requery action'. I attached a SnapShot view of the error. Below is the code I am using in the Timer() Event.

Code:
Private Sub Form_Timer()

[FrmDashBoard].Requery
[FrmDashBoard2].Requery

End Sub
 

Attachments

  • AccessSnapShot.JPG
    AccessSnapShot.JPG
    97.7 KB · Views: 165

Users who are viewing this thread

Back
Top Bottom