I have created a search criteria in a field, I have used:
' Like "*" & [text] & "*" '
If I put in 'LON' it will return entries that include text like 'LONDON' 'LONGTON' etc.
If I leave the text blank, and just click OK then it will bring back all entries, how can I change it so that if the user doesn't enter a search criteria, then it will not bring back any result, or promt for a criteria?
KP
' Like "*" & [text] & "*" '
If I put in 'LON' it will return entries that include text like 'LONDON' 'LONGTON' etc.
If I leave the text blank, and just click OK then it will bring back all entries, how can I change it so that if the user doesn't enter a search criteria, then it will not bring back any result, or promt for a criteria?
KP