Reputation: 9
I am unable to create a table from the below query i get an type mismatch Error, the value is Text , the column is also text.
please find the below query:
DB.Execute " SELECT * INTO RESULTS FROM CCPA WHERE EMA_ADR LIKE & " * " &
ME.SEARCHEMA.VALUE & " * ""
Upvotes: 1
Views: 49
Reputation: 12353
Try this
db.Execute "SELECT * INTO RESULTS FROM CCPA WHERE EMA_ADR LIKE '*" & Me.SEARCHEMA.Value & "*'"
Upvotes: 2