Hmmm your example works, so yes the dictionary is wrong (again). It states 
revOpenDatabase("odbc", hostAddress, databaseName, 
[userName],[passWord],[cursorType]). 

"hostAddress" should actually be "dsnName". Also the Disctionary example seems 
to indicate the userName and passWord arguments are optional but they are not. 
I get the same error using your corrected example sans the user/pass. 

One more question if I may, can I access an ODBC connection remotely? If so, 
how would I specifiy which actual server I want to connect to? 

Bob S


> On Mar 17, 2020, at 16:00 , matthias rebbe via use-livecode 
> <[email protected]> wrote:
> 
> i would say the description in the dictionary is wrong and therefore your 
> script. ;)
> 
> I am using it as follows
> 
> put revopendatabase("ODBC",DsnName,Databasename,Username,Password)


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to