Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Undefined function 'Round' in expression

Status
Not open for further replies.

er13b6ac

Programmer
Jun 3, 2002
5
US
I am building an sql statement, that includes the 'Round' function, to send a query to an Access database. When I try and open the ADODB.Recordset with the sql statement, I get:

Error![Microsoft][ODBC Microsoft Access Driver]Undefined function 'Round' in expression.

The sql statement works correctly when I load it directly into the Access SQL view. I assume I am missing a library. How do I find out what library is needed?

VB6/Access 2000/NT 4.0
 
You're not missing a library, but MS-Access supports VBA and user-defined functions. When you run the query without MS-Access, these functions will not run. So if you use ADO without running Access, you'll have to stick with pure SQL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top