B
binger
Hi all,
Here's my scenario (football pool)...
I've got 4 selections each week in the "selections" table.
I've got 17 selections each week for the "winners" table.
For each item in "selections" table, I want to scan the 17 selections
in Winners table to see if the winner is in that table or not.
The resulting table would be something that contains 4 values with
"yes, no, no, yes" - meaning that the 1st and 4th picks were found in
table "winners".
I've tried nesting IIF's - but I think it errors our way before I get
close to 17 nested IIF's.
Anyone got any good ideas? Is this a candidate for a VB function
(which I am not familiar with) or some other sql?
Thanks for anyones input!
Binger
Here's my scenario (football pool)...
I've got 4 selections each week in the "selections" table.
I've got 17 selections each week for the "winners" table.
For each item in "selections" table, I want to scan the 17 selections
in Winners table to see if the winner is in that table or not.
The resulting table would be something that contains 4 values with
"yes, no, no, yes" - meaning that the 1st and 4th picks were found in
table "winners".
I've tried nesting IIF's - but I think it errors our way before I get
close to 17 nested IIF's.
Anyone got any good ideas? Is this a candidate for a VB function
(which I am not familiar with) or some other sql?
Thanks for anyones input!
Binger