
Run-Time Error 2486 - Can't Carry Out Operation at Present Time
Hi, I'm trying to open an access report for VB to make some modifications to
it, however I'm getting error 2486. Does anyone know what this error means
and what I can do to resolve it, the code works fine in Access
VBA but not
VB (and yes I have got the correct project references). The code casuing me
trouble is below
Dim rpt As Report
DoCmd.OpenReport ("Report by User"), acViewPreview
It crashes on the DoCmd line. Any Ideas?
Cheers,
dave.