diff --git a/functions/uodbc.xml b/functions/uodbc.xml
index 8f2b560513..e291462a29 100644
--- a/functions/uodbc.xml
+++ b/functions/uodbc.xml
@@ -367,6 +367,59 @@
+
+
+ odbc_error
+ Get the last error code
+
+
+ Description
+
+
+ int odbc_error
+ int connection_id
+
+
+
+ Returns a six-digit ODBC state, or an empty string if there
+ has been no errors. If connection_id is
+ specified, the last state of that connection is returned, else the
+ last state of any connection is returned.
+
+
+ See also: odbc_errormsg and
+ odbc_exec.
+
+
+
+
+
+
+ odbc_errormsg
+ Get the last error message
+
+
+ Description
+
+
+ int odbc_errormsg
+ int connection_id
+
+
+
+ Returns a string containing the last ODBC error message, or an empty
+ string if there has been no errors. If
+ connection_id is specified, the last state of
+ that connection is returned, else the last state of any connection
+ is returned.
+
+
+ See also: odbc_error and
+ odbc_exec.
+
+
+
+
odbc_exec