I have a table that contains fields that have spacesbetween the data. eg A field containing mobile numbers has been entered as 0123 456 789.
I want to setup an expression in the criteria of a query that prompts the user to enter the mobile number they are searching for. Inevitably the user will enter 0123456789 without the spacing. I have tried the following :
[Type in the mobile number] - this doesn't work if the user does not include the spaces.
Like[Type in the mobile number]&"*" - this doesn't work if the user does not include the spaces.
Because the table has some 2500 records changing the data in the table not to have spaces is not feasible.
I am a fairly new user to Access so any assistance is greatly appreciated
I want to setup an expression in the criteria of a query that prompts the user to enter the mobile number they are searching for. Inevitably the user will enter 0123456789 without the spacing. I have tried the following :
[Type in the mobile number] - this doesn't work if the user does not include the spaces.
Like[Type in the mobile number]&"*" - this doesn't work if the user does not include the spaces.
Because the table has some 2500 records changing the data in the table not to have spaces is not feasible.
I am a fairly new user to Access so any assistance is greatly appreciated