February 8th, 2000, 10:54 AM
Hi,
Does anyone know how to give a user a selection of available databases in SQL SERVER 6.5 using VB
ie
When they log in the can choose between different databases.
This is when I'm using OLEDB as I know that with ODBC I can just change the default database in the control panels but I can't see a way of doing this sort of thing with OLEDB where you hard code the INITIAL CATALOG and I don't want to use an INI file to select the database I'm working with.
Hope this makes sense
Cheers.
Does anyone know how to give a user a selection of available databases in SQL SERVER 6.5 using VB
ie
When they log in the can choose between different databases.
This is when I'm using OLEDB as I know that with ODBC I can just change the default database in the control panels but I can't see a way of doing this sort of thing with OLEDB where you hard code the INITIAL CATALOG and I don't want to use an INI file to select the database I'm working with.
Hope this makes sense
Cheers.