Access 97 and SQL Server 6.5 
Author Message
 Access 97 and SQL Server 6.5

How can I catch errors that occured
within a trigger in SQL Server ?

I work with access in front of SQL Server.
A trigger in sql used the statement:

RAISERROR(ErrorNumber , sevirity , -1)

when the error occured, I need to get in access
the very same ErrorNumber that was raised by SQL Server,

does anybody knows how?

thanks for advance
for answering this question



Fri, 08 Sep 2000 03:00:00 GMT  
 Access 97 and SQL Server 6.5

Sara,

It's in the Errors collection, usually Error(0).  Help has details.

    - Rebecca.

Quote:

>How can I catch errors that occured
>within a trigger in SQL Server ?

>I work with access in front of SQL Server.
>A trigger in sql used the statement:

>RAISERROR(ErrorNumber , sevirity , -1)

>when the error occured, I need to get in access
>the very same ErrorNumber that was raised by SQL Server,

>does anybody knows how?

>thanks for advance
>for answering this question



Fri, 08 Sep 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help Access 97 vs SQL Server 6.5?

2. Access 97 vs SQL Server 6.5

3. Help - VB5 / SQL 6.5 / Access 97

4. Pessimistic Recordlocks Access --> SQL Server 6.5

5. Syntax for VB6.0 to access SQL Server 6.5

6. migration vb3.0: from access 2.0 to sql server 6.5

7. I need, must have program for converting Access DB to SQL server 6.5 Script

8. Syntax for VB6.0 to access SQL Server 6.5

9. Access to SQL Server 6.5

10. VBScript Error due to converting databases from Access to SQL Server 6.5

11. Moving from access to sql server 6.5

12. SQL Server 6.5 Database Access

 

 
Powered by phpBB® Forum Software