Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

an error in a form!

$
0
0
I made a form over a query and added a button to go and view next records. Then I added two unbound text boxes named: delay1 and delay2. Then I put this code in the visual basic:

Sub delay1_AfterUpdate()
Me.dealay2 = 4
End Sub

The above code works only for the first record of the query.when I push the “next” button, It does not work for next records and l see the following error uppon updating the text box delay1:

“The expression after update you entered was the event property setting produced error: A problem occurred while Microsoft access was communicating with the OLE server or ActiveX control.
This error occurs when an event has failed to run because the location of the logic for the event cannot be evaluated. For example, if the OnOpen property of a form is set to = [Field], this error occurs because a macro or event name is expected to run when the event occurs.”
I would appreciate any guide and comment.
Thank you

Viewing all articles
Browse latest Browse all 13329

Trending Articles