Hi,
I am writing a database app with D6 and Access2k using ADO.
Sometimes when i attempt to delete or post a record through the application i get an exception.
i would like to respond with my custom messages depending on the exception:
1. missing required fields,
2. missing master table record,
3. dependent records in other table
How do i get the exception type (?), the table that caused the exception and the reason fro the exception so that i can then write my own message to respond to the exception?
TIA
I am writing a database app with D6 and Access2k using ADO.
Sometimes when i attempt to delete or post a record through the application i get an exception.
i would like to respond with my custom messages depending on the exception:
1. missing required fields,
2. missing master table record,
3. dependent records in other table
How do i get the exception type (?), the table that caused the exception and the reason fro the exception so that i can then write my own message to respond to the exception?
TIA