F
finster26
I have one table with:
YR CODE COST
2010 OL $5.50
2010 CG $1.28
2010 SW $2.25
A second table:
ST YR CODE CG SW
MAIN 2010 OL Y Y
I can achieve by a query "MAIN, 2010, OL, $5.50".
But what I need to do is when CODE="OL" then when CG="Y" or when SW="Y" to
up with:
"MAIN, 2010, OL, $5.50, $1.28, $2.25"
Thanks for your help.
YR CODE COST
2010 OL $5.50
2010 CG $1.28
2010 SW $2.25
A second table:
ST YR CODE CG SW
MAIN 2010 OL Y Y
I can achieve by a query "MAIN, 2010, OL, $5.50".
But what I need to do is when CODE="OL" then when CG="Y" or when SW="Y" to
up with:
"MAIN, 2010, OL, $5.50, $1.28, $2.25"
Thanks for your help.