K
Kevin
I have a query, which in the query builder runs fine. I
place that same query into VBA and open it using a
recordset object. In VBA it returns nothing. There is
criteria in the query which his a string value. I surround
the criteria with '" & criteria & "'. I done this in many
places within the database with no problem. Here the
recordset returns no records. I know this because
recordset.recordcount = 0.
Why! Any suggestions would be greatly appreciated!
Kevin
place that same query into VBA and open it using a
recordset object. In VBA it returns nothing. There is
criteria in the query which his a string value. I surround
the criteria with '" & criteria & "'. I done this in many
places within the database with no problem. Here the
recordset returns no records. I know this because
recordset.recordcount = 0.
Why! Any suggestions would be greatly appreciated!
Kevin