Hi,
I have a form where a user enters info to pull up a report based on the zip code. The user may enter the whole zip code, which is not a problem, but they also want to be able to enter the first 2, 3 or 4 digits to get all zip codes for a larger area. Example, they may enter 90 or 901 or 9015 or 90156. I need a way to query the table to get all records by what they enter. I know I can do this with a lot of if statements but there should be an easier way that I can't find. Thanks for any suggestions.
Lisa
I have a form where a user enters info to pull up a report based on the zip code. The user may enter the whole zip code, which is not a problem, but they also want to be able to enter the first 2, 3 or 4 digits to get all zip codes for a larger area. Example, they may enter 90 or 901 or 9015 or 90156. I need a way to query the table to get all records by what they enter. I know I can do this with a lot of if statements but there should be an easier way that I can't find. Thanks for any suggestions.
Lisa