By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,961 Members | 1,803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,961 IT Pros & Developers. It's quick & easy.

meaning of arguments in odbc connectivity using VB6.0

P: 2
hi i want to know the meaning of false,false in the following code for odbc connectivity using vb6.0.
Expand|Select|Wrap|Line Numbers
  1. set db=opendatabase("dsn",false,false;"odbc;uid;pwd;dsn")
Aug 28 '10 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 569
There are 4 parameters for the opendatabase method. The first one is "name" and that one is mandatory. The second and third are "options" and "readonly" and they are optional. The last one is "connect" and that one is mandatory again. So the "false, false" means that there are no additional options and it's not readonly.

Aug 30 '10 #2

P: 2
thank you Steven for your response
Aug 30 '10 #3

Expert 100+
P: 569
You're welcome.
Aug 30 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.