A family of Microsoft relational database management systems designed for ease of use.
In addition to what John posted, you have an extra 0 in your intervals. 5 minutes is 300 seconds or 300,000 miliseconds.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have timer intervals set on a form in a runtime application of Access XP. I would like each user to be able to set their own preference for how frequently this OnTimer event occurs. I thought it would be clever to create a form where they could select the frequency. So I made a combo box [cboTimerInterval]:
5 minutes (bound column 3000000)
10 minutes (bound column 6000000)
15 minutes (bound column 9000000)
Then I tried to set the timer interval property for the OnTimer event of the related field to
=[forms]!UserPreferences]![cboTimerInterval]
...Tried it without the equal sign, too.
Boo hoo! Access no likey! The value you've entered isn't valid for this field.
Any thoughts?
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
In addition to what John posted, you have an extra 0 in your intervals. 5 minutes is 300 seconds or 300,000 miliseconds.
thanks. i'll give it a try and vote "found this helpful" if it works!
I think you'll need to set the timerinterval property in the AfterUpdate event of the combo box:
Private Sub cboTimerInterval_AfterUpdate()
Me.TimerInterval = Me.cboTimerInterval
End Sub
It might be necessary to use CLng(Me.cboTimerInterval).