the issue is I'm getting the "no given value for required parameters" error.
the strSQL is as follows "SELECT CorpDesc FROM rollup WHERE Company='ACI'"
that looks right to me. yes, "ACI" is within the company field.
NOTE: rollup is already a query, not a table. do you think that might cause...
below is my code:
Sub MyFirstConnection()
Dim con1 As ADODB.Connection
Dim recSet1 As ADODB.Recordset
Dim strSQL As String
Dim strsearch As String
strsearch = "ACI"
strSQL = "SELECT CorpDesc FROM rollup" & _
" WHERE Company = " & " '" & strsearch & "'"
Set con1 = CurrentProject.Connection...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.