Chris,

There are sevral UDF's for DB stuff.
Not sure because I never used them but maybe these can help.

DBCommand() - Executes a SQL statement and returns a recordset if applicable

DBExecuteSQL() - Executes a SQL command on a database
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.