BuiltIn Functions › $ERRORDVWDBID Function
This function returns a database ID that identifies the most recent error.