Time an Event Procedure

  • Thread starter Alex219267 via AccessMonster.com
  • Start date
A

Alex219267 via AccessMonster.com

I have an Access Database connected to an office network that tracks our
office computer assets etc.

I have a button click event that once clicked it grabs the computer netname
of an office PC, and then executes vba code to look and see when the computer
was last rebooted. The problem I am having is if the computer it is trying
to connect to is turned off, I am having to wait over 3 minutes before I get
a response telling me that the PC is unavailable.

My question is: Is there a way to program in VBA and have a set timer, so
that if data is not found within 30 seconds display X error in a display box?

THanks
 
K

Klatuu

I don't belive there is a way, because once you try to connect to the PC, the
code halts until it either completes or errors out.

Can you post the code you are using to do this so we can figure something
out, please?
 

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