J
Joergen Bondesen
Hi NG
I have a table: SE_Data. All Fields are text.
I have two queries on the table: SE_Data
Q_CM
Crit: <"26999" Or >"40000" And <"44999" Or >"62000" And <"62499"
Sort: Ascending (Zip code)
Q_Po
Crit: Between "26999" And "40000" Or Between "44999" And "62000" Or
Sort: Ascending (Zip code)
When I run both queries, data is ascending.
My union query, Q_CM_Po:
SELECT Zip, City
FROM Q_CM
UNION ALL
SELECT Zip, City
FROM Q_Po;
where Q_CM is ascending but Q_Po does not start with the correct zip code,
it begins with '28531' ascending to '34236'
and then begin '27033' ascending to '28437' followed by '34250' and then
ascending fine.
Why this problem, and what can I do?
--
Best regards from
Joergen Bondesen
I have a table: SE_Data. All Fields are text.
I have two queries on the table: SE_Data
Q_CM
Crit: <"26999" Or >"40000" And <"44999" Or >"62000" And <"62499"
Sort: Ascending (Zip code)
Q_Po
Crit: Between "26999" And "40000" Or Between "44999" And "62000" Or
"62499"
Sort: Ascending (Zip code)
When I run both queries, data is ascending.
My union query, Q_CM_Po:
SELECT Zip, City
FROM Q_CM
UNION ALL
SELECT Zip, City
FROM Q_Po;
where Q_CM is ascending but Q_Po does not start with the correct zip code,
it begins with '28531' ascending to '34236'
and then begin '27033' ascending to '28437' followed by '34250' and then
ascending fine.
Why this problem, and what can I do?
--
Best regards from
Joergen Bondesen