Error number

Results 1 to 2 of 2

Thread: Error number

  1. #1
    Join Date
    Dec 1969

    Default Error number

    how can I trap the err number returned from the database. Suppose I am checking whether a user has access rights to a certain table or not then I need to check it from the database and depending on the error number I will either allow him to go to the next page or restrict him.

  2. #2
    Join Date
    Dec 1969

    Default RE: Error number

    Place "On Error Resume Next" before your database action.<BR>After that action, you can check for an error number with <BR>Err.Number, or AdoConnection.Errors(0).Number

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts