Probably either fldVintage or fldSize is a text field. If so, then surround the value with quotes, like fldVintage = '1953'
e.g.
strsql = "select fldsize, fldtype, fldvintage, unitcost from qryCheckCost where fldvintage='" & Me.fldVintage & "' AND fldSize = " & Me.fldSize
I...
The other way around this which might be faster is to create a temporary table with one field (call it whatever you want), go through the ADO recordset and add a blank record for each record in the ADO recordset. Then, set the report recordsource to the name of this table. (in other words, you...
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.