Returns the value from the first column and row of the result set from the passed SQL. Like DLookup, but takes a full SQL statement.
The SQL
Print the SQL statement before attempting to open the Recordset
Don't print any error message if an error is thrown, just return Null
1 2 | v = xf.DbConnect.ReturnRec( "SELECT ProductName FROM Products WHERE ProductID=1" ) Chai |