I have a table with a field vehicle_no
this field contains numbers of rail cars
but the field can have more than one number eg
1. 1872
2. 1872 1873
3. A961
4. 1873 A961 ARL293
etc
I want a user to enter a number eg 1872 and the results to show all records with 1872 in it even if there is another number in that field.
result should be
1. 1872
2. 1872 1873
I tried this
SELECT [Open Quote Page].[Vehicle Number]
FROM [Open Quote Page]
WHERE ((([Open Quote Page].[Vehicle Number]) Like [enter No]));
but the results only gave me record 1
1. 1872
Can you please tell me where Im going wrong and what is the solution
Thanks in advance
this field contains numbers of rail cars
but the field can have more than one number eg
1. 1872
2. 1872 1873
3. A961
4. 1873 A961 ARL293
etc
I want a user to enter a number eg 1872 and the results to show all records with 1872 in it even if there is another number in that field.
result should be
1. 1872
2. 1872 1873
I tried this
SELECT [Open Quote Page].[Vehicle Number]
FROM [Open Quote Page]
WHERE ((([Open Quote Page].[Vehicle Number]) Like [enter No]));
but the results only gave me record 1
1. 1872
Can you please tell me where Im going wrong and what is the solution
Thanks in advance