J JMichaelM Registered User. Local time Today, 03:39 Joined Aug 4, 2016 Messages 101 Feb 26, 2018 #1 Does anyone know how to query a field which begins with a wild card character "*". Cant seem to get it using Like.
Does anyone know how to query a field which begins with a wild card character "*". Cant seem to get it using Like.
Ranman256 Well-known member Local time Today, 06:39 Joined Apr 9, 2015 Messages 4,348 Feb 26, 2018 #2 in a text box on a form, user fills in the word, and opens the query... the query looks like: select * from table where [field] like '*' & forms!myForm!txtBox
in a text box on a form, user fills in the word, and opens the query... the query looks like: select * from table where [field] like '*' & forms!myForm!txtBox
J JMichaelM Registered User. Local time Today, 03:39 Joined Aug 4, 2016 Messages 101 Feb 26, 2018 #3 I need it in a query. Only begins with *
C CJ_London Super Moderator Staff member Local time Today, 11:39 Joined Feb 19, 2013 Messages 17,754 Feb 26, 2018 #4 use square brackets like ' [*]*' will find all values that start with *
J JMichaelM Registered User. Local time Today, 03:39 Joined Aug 4, 2016 Messages 101 Feb 26, 2018 #5 Thanks. Never had that one before. Just another reason I love access is the support community right here.
Thanks. Never had that one before. Just another reason I love access is the support community right here.