02-01-2002 09:39 AM
02-01-2002 11:48 PM
10-17-2002 04:41 AM
02-15-2016 09:36 AM
hello,I need this project,is it possible to give
02-15-2016 09:08 PM
06-05-2017 08:22 AM
I have the same problem. Nothing seems to work. I would assume the following syntax is correct:
myConn = DBConnect ("Provider=SEQUEL ViewPoint;User ID=JohnDoe;Password=abcd;");
But I get Error -10
It works without the UID/PW part.
Surely someone has figured out how to do this? 🙂
06-06-2017 07:53 AM - edited 06-06-2017 08:08 AM
If you look in the 2nd post, it says something about using the "UID" and "PWD" keywords, not "User ID" and "Password". But these keywords are database driver specific so you would have to check your database driver documentation for the exact syntax. But it is very unlikely that "User ID" is a correct keyword, since it contains a space.
Assuming that your Provider Name "Sequel" refers to a Sybase database driver, the correct connection string would be something like "DataSource=myASEserver;Port=5000;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"
Looking for Sequel Viewpoint the syntax seems to be
:user=>'...', :password=>'...'
for this weird driver, but the only examples I can find online seem to be for some sort of scripting language (supposedly Ruby) so this syntax may be Ruby specific.
06-07-2017 12:57 AM
A good place to look for connection strings is https://www.connectionstrings.com/.
I found it really useful so many times
06-07-2017 08:03 AM
Thanks, I am still checking 🙂