Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime Error 91

Status
Not open for further replies.

tipster69

Technical User
Feb 18, 2006
8
GB
I have a database that everytime I run it on my main pc I get a "Microsoft Visual Basic Runtime Error 91".

The same database runs fine on 3 different laptops I have.

It stopped doing it for a while after running a Kaspersky Virus scan then started again after a number of days.

I have tried running the virus scan again and it still gives me the error.

Any Ideas?

Many Thanks
 
And does the DB compiles properly .
menu Debug -> Compile ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I kinda just "scam" my way around access. I am no whizz with it by any stretch of the imagination.

I have no idea how to open a VBA editing window.

I have clicked debug and the compile option is greyed out?
 
It also cause allsorts of other problems I forgot to mention.
I use a table (report) fromn the database to export as html to upload to our website.

I cannot do this from the pc (the one with the runtim error on)

It says' "cannot find the database on server".

I end up having to run it on a laptop and copy the html files across to the main pc.

It's all in all in a bit of a mess lol.

Thanks for your earlier replies guys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top