|
-
October 22nd, 2001, 03:55 PM
#1
Connection string to access
hi guys,
i am building a project using VB and a Databe created in Access.
can i connect to the database without using the ODBC Data source??
thanks,
ohad.
-
October 22nd, 2001, 03:58 PM
#2
Re: Connection string to access
'connection to secure database
Dim Cnn As ADODB.Connection
Dim sConn As String
Set Cnn = New ADODB.Connection
sConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & DBNAME & _
";Persist Security Info=False"
With Cnn
.CursorLocation = adUseClient
.Open sConn
End With
Iouri Boutchkine
[email protected]
-
October 22nd, 2001, 04:39 PM
#3
Re: Connection string to access
hi,
first of all thanks for your help.
using the adodc i found how i create a connection
string to sql oracle and i saw the jet thing, but didnt knew he support access.
can you tell me what is this jet thing?
what more he support except access?
thanks,
ohad.
-
October 23rd, 2001, 08:17 AM
#4
Re: Connection string to access
JET is the database engine. I forgot what JET stands for, but it has nothing to do with jet planes. Access and VB have the same engine JET and used mainly for supporting Access.
Iouri Boutchkine
[email protected]
-
October 23rd, 2001, 12:24 PM
#5
Re: Connection string to access
I think SQL Server uses Jet database engine too..
Nicolas Bohemier
-
October 23rd, 2001, 12:30 PM
#6
Re: Connection string to access
When you create a recordset from SQLServer table and work with this rs, VB uses JET engine
Iouri Boutchkine
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|