Runtime error 2001

B

Bellyjeans

Hi guys,

I have a split database with multiple users. All of the users' front
ends are working fine, except for one user who keeps on getting a
"Runtime error '2001'" message popping up. Here's the code that it
keeps on trying to debug:

Public Function CountReferrals()
CountReferrals = DCount("[ReferralID]", "REFERRAL", "[PatientID] =
Forms!frmMainDemographicsHM2!PatientID")
End Function

Is there a problem with my code? I haven't been able to fix it and
all of the other users are able to use their databases just fine with
the same coding.

Thanks.
 

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