breakpoint changes code behavior

S

SandyR

The following code works correctly when there is a breakpoint is set in it,
but not when there is no breakpoint. It sets me.lastot only when the
breakpoint is on:

Private Sub STATUS_AfterUpdate()

On Error GoTo STATUS_AfterUpdate_Error
Me.SDATE = Now()
Me.LASTOT = Forms!frmMenu.txtJob
 
S

SandyR

Actually, the break point didn't change the behavior - The field was being
updated, but it didn't show on the form. I added a me.refresh after the
code, and the value appeared on-screen in the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top