Hi,
I use a union query as follows
SELECT ALL [A],
FROM [Εμβόλια παιδιών] WHERE >"0"
UNION ALL SELECT [C], [D]
FROM [Εμβόλια παιδιών] WHERE [D]>"0"
UNION ALL SELECT [E], [F]
FROM [Εμβόλια παιδιών] WHERE [F]>"0";
When the query runs I need to have the numbers of resulted rows (if possible only of the second column) in a text box on my form. How can I implement it by avoiding the use of another select query?
Thanks in advance!
I use a union query as follows
SELECT ALL [A],
FROM [Εμβόλια παιδιών] WHERE >"0"
UNION ALL SELECT [C], [D]
FROM [Εμβόλια παιδιών] WHERE [D]>"0"
UNION ALL SELECT [E], [F]
FROM [Εμβόλια παιδιών] WHERE [F]>"0";
When the query runs I need to have the numbers of resulted rows (if possible only of the second column) in a text box on my form. How can I implement it by avoiding the use of another select query?
Thanks in advance!