G
Guest
Hi,
Is it possible to select different fields from one tabel depending on wether
different selection boxes are ticked or not? I would like to write an
SQL-query like this:
SELECT Register.[E-mail_1]
FROM Register
WHERE (((Register.[Selection_1])=Yes)) AND
(SELECT Register.[E-mail_2]
FROM Register
WHERE (((Register.[Selection_2])=Yes))) AND
(SELECT Register.[E-mail_3]
FROM Register
WHERE (((Register.[Selection_3])=Yes)));
Access doesn't understand this code. Is there any other way to express this?
I'm very greatful for all help.
Best regards
Ã…sa
Is it possible to select different fields from one tabel depending on wether
different selection boxes are ticked or not? I would like to write an
SQL-query like this:
SELECT Register.[E-mail_1]
FROM Register
WHERE (((Register.[Selection_1])=Yes)) AND
(SELECT Register.[E-mail_2]
FROM Register
WHERE (((Register.[Selection_2])=Yes))) AND
(SELECT Register.[E-mail_3]
FROM Register
WHERE (((Register.[Selection_3])=Yes)));
Access doesn't understand this code. Is there any other way to express this?
I'm very greatful for all help.
Best regards
Ã…sa