M
Majeed
I have a Table in Access database wich contains 11 similarly named field
like SC1 , SC2 ,SC3....SC11. I do a lot oq SQL queries referening to this
group of fileds and typing all of them repeatedly is cubmersome. Is there
any means of naming this special group to save me typing them all.
For example
SELECT * FROM TMrecords
WHERE (((TMrecords.SC1)=[SCORER])) OR (((TMrecords.SC2)=[SCORER])) OR
(((TMrecords.SC3)=[SCORER])) OR
(((TMrecords.SC4)=[SCORER])).................OR
(((TMrecords.SC11)=[SCORER]));
To something like
SELECT * FROM TMrecords
WHERE (((TMrecords.SC1GroupSet=[SCORER])) ;
Thanks.
like SC1 , SC2 ,SC3....SC11. I do a lot oq SQL queries referening to this
group of fileds and typing all of them repeatedly is cubmersome. Is there
any means of naming this special group to save me typing them all.
For example
SELECT * FROM TMrecords
WHERE (((TMrecords.SC1)=[SCORER])) OR (((TMrecords.SC2)=[SCORER])) OR
(((TMrecords.SC3)=[SCORER])) OR
(((TMrecords.SC4)=[SCORER])).................OR
(((TMrecords.SC11)=[SCORER]));
To something like
SELECT * FROM TMrecords
WHERE (((TMrecords.SC1GroupSet=[SCORER])) ;
Thanks.