Hello I have text field in table which stores value like this.
UK
United States
Japan
Now I have sql query which is like this;
SELECT * FROM qry_maindata WHERE [Country] in ('UK','United States')
It returns only UK rows for example if it is first entry in record, some table row which has value like below, it does not return record from below entry.
South Africa
Japan
UK
Is it because of it is defined as text field and am putting value by line feed.
Please not that above field is free text field and data is being entered from FORM by using enter for new entry.
UK
United States
Japan
Now I have sql query which is like this;
SELECT * FROM qry_maindata WHERE [Country] in ('UK','United States')
It returns only UK rows for example if it is first entry in record, some table row which has value like below, it does not return record from below entry.
South Africa
Japan
UK
Is it because of it is defined as text field and am putting value by line feed.
Please not that above field is free text field and data is being entered from FORM by using enter for new entry.
Last edited: