Hi Jeroen!
I don't think you can do SQLCONNECT() without a DSN unless you have defined a connection in your database via CREATE CONNECTION.....
So the only two valid syntaxes are:
SQLCONNECT(DataSourceName, cUserID, cPassword)
-or-
SQLCONNECT(cConnectionName)
>Does anyone know the syntax, or have an example on how to do a sqlconnect() without a dsn ?
>
>Thx,
>Jeroen
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05