Avatar of thenelson

asked on 

VBA Line causes Access to hang up.

The following line causes Access 2003 to hang up:
       Me.ComplaintID.Text = strFilter
ComplaintID is  a combobox, strFilter contains any string.
When the code reaches that line, Access just hangs, no error message. I have to go into task manager to close Access down.
 I precede that line with:
I have tried other forms of the line such as:
        Forms.frmPt.ComplaintID.Text = strFilter
        frmPt!ComplaintID.Text = strFilter
        ComplaintID.Text = strFilter
 with the same result.
 I have used
         Me.ComplaintID.Text =
 in other areas of the object module without problem.
 Any ideas what is going on?
Microsoft AccessMicrosoft Office

Avatar of undefined
Last Comment

8/22/2022 - Mon