Programming Guide > Programming Guide > Working with a Database > Handling Database Errors > How You Can Use LongByteObject and LongVCharObject Methods
Was this helpful?
How You Can Use LongByteObject and LongVCharObject Methods
The LongByteObject and LongVCharObject system class methods that access the database (FetchFromDB and UpdateInDB) indicate errors in the following ways:
The return value is set to a nonzero error code if the method does not execute successfully.
The DBSessionObject attributes ErrorNumber and DBMSError are set to the appropriate error number if a DBMS error occurs during the execution of the method.
Last modified date: 06/25/2024