antonio.manoj.derose
Registered User.
- Local time
- Today, 22:25
- Joined
- Jul 4, 2013
- Messages
- 62
Hi All,
I have given an ACCESS ADP Project, which gets committed in SQL Server tables.
However, I don't see the connection string nor a provider in the code.
But, when I run the code putting a debug point, and open the immediate window I add the '?CurrentProject.Connection.ConnectionString' and I get the result as
Antonio
I have given an ACCESS ADP Project, which gets committed in SQL Server tables.
However, I don't see the connection string nor a provider in the code.
But, when I run the code putting a debug point, and open the immediate window I add the '?CurrentProject.Connection.ConnectionString' and I get the result as
But where it had set in the coding, I only can see the belowProvider=Microsoft.Access.OLEDB.10.0;Persist Security Info=True;Data Source=wsdb;User ID=sa;Password=password;Initial Catalog=KAIIOWAS;Data Provider=SQLOLEDB.1
Thanks,Sub nilSetConnection(con As ADODB.Connection)
Set con = New ADODB.Connection
con.connectionString = CurrentProject.Connection
con.Open
End Sub
Antonio
Last edited: