S
Samuel
I have the code below that requires the connection string, my question is
what connection string do I have to supply within the access file itself
Dim obRecSet As Recordset
Dim obConn As New Connection
Dim sSQL As String
sSQL = "SELECT * FROM [Order Details] WHERE OrderID = " & OrderID
'Get all Order detail records
obConn.Open
Set obRecSet = obConn.Execute(sSQL)
obConn.Close
'Loop for each record
While obRecSet.EOF = False
'Update the submit flag
UpdateSubmit (obRecSet.Properties("OrdeDetailID"))
'Update the cash book
'Insert log record
obRecSet.MoveNext
'End loop
Wend
what connection string do I have to supply within the access file itself
Dim obRecSet As Recordset
Dim obConn As New Connection
Dim sSQL As String
sSQL = "SELECT * FROM [Order Details] WHERE OrderID = " & OrderID
'Get all Order detail records
obConn.Open
Set obRecSet = obConn.Execute(sSQL)
obConn.Close
'Loop for each record
While obRecSet.EOF = False
'Update the submit flag
UpdateSubmit (obRecSet.Properties("OrdeDetailID"))
'Update the cash book
'Insert log record
obRecSet.MoveNext
'End loop
Wend