I am not really sure what your question is.
But a MS Access database can be installed on a server, and workstations can make connections to it. VBA code can be written with SQL to access this data.
Good luck
2006-08-14 14:59:19
·
answer #1
·
answered by Anonymous
·
1⤊
0⤋
SQL or Structured Query Language is the most common language used to Query databases, SQL Server is also a brand for a database program. Access uses SQL in it's queries, and queries written for SQL server will work in Access (though not alway the other way around).
if you are speaking about SQL Server and Access as a comparison, SQL is better for handling multiple simultaneous database connections and it has better security.
So yes if SQL is the language used then it has a great deal of relationship, as the program they are similar, but SQL is more robust.
2006-08-14 18:16:15
·
answer #2
·
answered by Anonymous
·
0⤊
0⤋
yes
form access you can link a sql database
or you can use the sql database as a access project
and from sql you can have a linked server using ms access if you need more details you can contact my
2006-08-14 15:16:46
·
answer #3
·
answered by Javy 2
·
0⤊
0⤋
'Following script connect MSAccess/Visual Basic6 to SQL Server:
Dim db_server As String
Dim db_database As String
Dim db_user As String
Dim db_pass As String
Private Sub mytest()
Dim adoConn As New ADODB.Connection
Dim adoRS As New ADODB.Recordset
Dim sqlString As String
'set connections strings
Call SetPass
adoConn.ConnectionString = "DRIVER={SQL Server};" _
& "SERVER=" & db_server & ";" _
& "DATABASE=" & db_database & ";" _
& "UID=" & db_user & ";" _
& "PWD=" & db_pass & ";"
'Set the query
sqlString = "SELECT * FROM SQLTable1"
'Open connection
adoConn.Open
adoRS.Open sqlString, _
adoConn, _
adOpenKeyset, _
adLockPessimistic, _
adCmdText
'test if value of first record can be shown...
MsgBox adoRS(0).Value
'Close the recordset
adoRS.Close
'Close the connection
adoConn.Close
'Set the objects to nothing
Set adoRS = Nothing
Set adoConn = Nothing
End Sub
Private Sub SetPass()
db_server = "user1"
db_database = "labor"
db_user = "sa"
db_pass = "VBAccesspert"
End Sub
2006-08-14 23:19:00
·
answer #4
·
answered by VBACCESSpert 5
·
0⤊
0⤋
Yes! try to use import
2006-08-14 15:15:54
·
answer #5
·
answered by kryptonboy22 3
·
0⤊
0⤋