Error Trapping Not Triggered

  • Thread starter Thread starter John McEnany
  • Start date Start date
J

John McEnany

I have a routine in MS Access 2000 that reads file name
and property information from a hard drive. I have error
trapping for hidden files and in particular Err.Number
70, "Permission denied". However, when the routine tries
to read file information for a file as to which permission
is denied, I am getting an error message for Err.Number
70, "Permission denied", but my On Error GoTo ErrorTrap is
not being triggered; the message is displayed directly.
Any suggestion as to what I might do here would be welcome.

Thanks!
 
Back
Top