My code looks like this:
My query opens but there is no information in the query. The SQL statement works I created a query using it an the info appeared.
Code:
strDataTagSrch = Me.cboDataTags.Value
Set dbCurr = Currentdb()
Set qdfCurr = dbCurr.QueryDefs(QueryName)
sqlStr = "stuff and things "
DoCmd.OpenQuery (queryName)
My query opens but there is no information in the query. The SQL statement works I created a query using it an the info appeared.