Hi Terry,
>I have an ODBC connection to a database on a web server. connects when I test it.
if you already have the connection in the ODBC control panel, you can use:
lnHandle = SQLCONNECT("name")
Where name is the name of the connection in the panel.
--
Christof