T
TrickDownie
Does anyone know how to bring filter a SQL using LIKE '*active*'
SQLString = "SELECT downloads.Branch_Number, downloads.msglog_text,
downloads.item_id, downloads.msglog_crtdt "
SQLString = SQLString & "FROM downloads "
SQLString = SQLString & "WHERE (((downloads.Branch_Number)= " &
rst!Branch_Number & ") AND ((downloads.msglog_text) Like '*active*')
AND ((downloads.item_id)= " & rst!item_id & ")) "
SQLString = SQLString & "ORDER BY downloads.msglog_crtdt;"
SQLString = "SELECT downloads.Branch_Number, downloads.msglog_text,
downloads.item_id, downloads.msglog_crtdt "
SQLString = SQLString & "FROM downloads "
SQLString = SQLString & "WHERE (((downloads.Branch_Number)= " &
rst!Branch_Number & ") AND ((downloads.msglog_text) Like '*active*')
AND ((downloads.item_id)= " & rst!item_id & ")) "
SQLString = SQLString & "ORDER BY downloads.msglog_crtdt;"