troubleshooting Question

VBA Line causes Access to hang up.

Avatar of thenelson
thenelson asked on
Microsoft AccessMicrosoft Office
5 Comments3 Solutions570 ViewsLast Modified:
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?
Join our community to see this answer!
Unlock 3 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros