glgcag1991
Programmer
Converting a database backend to SQL Server. Still have a bunch of local tables that won't be converted (they act as temp tables) so I have local and SQL Server linked tables I am contending with.
This seems like a basic question, but I have a DSN-less connection programmed in a global variable, but when my existing queries that my combo boxes and list boxes are based on run, I still get a pop-up asking for my credentials to the SQL Server if the query references SQL Server tables. Does this mean I have to create a DSN for each user? Or, is there a way to initiate the DSN-less connection and once it's established, the queries will run?
As it stands, this doesn't seem to be the case since when I make a connection using ADO and the global connection variable is used, everything works fine, but as soon as I refresh a combo or list box, the pop-up appears.
Here is my global variable that stores the connection:
Const strConString = "Provider=SQLOLEDB;Data Source=SQLServ2;Initial Catalog=ProgData;Integrated Security=SSPI;"
Thanks for the help!
This seems like a basic question, but I have a DSN-less connection programmed in a global variable, but when my existing queries that my combo boxes and list boxes are based on run, I still get a pop-up asking for my credentials to the SQL Server if the query references SQL Server tables. Does this mean I have to create a DSN for each user? Or, is there a way to initiate the DSN-less connection and once it's established, the queries will run?
As it stands, this doesn't seem to be the case since when I make a connection using ADO and the global connection variable is used, everything works fine, but as soon as I refresh a combo or list box, the pop-up appears.
Here is my global variable that stores the connection:
Const strConString = "Provider=SQLOLEDB;Data Source=SQLServ2;Initial Catalog=ProgData;Integrated Security=SSPI;"
Thanks for the help!