D
Dave
The Table:
BoxCount
pkey -> PlanterName , text
pkey -> BoxType, text
Date, datetime
BoxesReturned, number
Comments, text
There are 3 queries I use at different times throughout the process,
but basically I have one query that I want to join a different query
to that table:
Queries:
BoxReturn2
SELECT Sum(BoxReturn.BoxesShipped) AS SumOfBoxesShipped,
Abs(Sum(BoxReturn.RemainderShipped)) AS SumOfRemainderShipped,
BoxReturn.PlanterName AS PlanterName, BoxReturn.BoxType AS BoxType
FROM BoxReturn
GROUP BY BoxReturn.BoxType, BoxReturn.PlanterName;
BoxReturn3
SELECT *
FROM BoxReturn2 INNER JOIN BoxCount ON
(BoxCount.PlanterName=BoxReturn2.PlanterName) AND
(BoxCount.BoxType=BoxReturn2.BoxType);
NOW, BoxReturn3 returns no records at all. I'm gettin pissed. I
tried it with test tables, same thing, and it worked fine!
Please help me solve this problem. Also let me know if you need more
information.
Dave
BoxCount
pkey -> PlanterName , text
pkey -> BoxType, text
Date, datetime
BoxesReturned, number
Comments, text
There are 3 queries I use at different times throughout the process,
but basically I have one query that I want to join a different query
to that table:
Queries:
BoxReturn2
SELECT Sum(BoxReturn.BoxesShipped) AS SumOfBoxesShipped,
Abs(Sum(BoxReturn.RemainderShipped)) AS SumOfRemainderShipped,
BoxReturn.PlanterName AS PlanterName, BoxReturn.BoxType AS BoxType
FROM BoxReturn
GROUP BY BoxReturn.BoxType, BoxReturn.PlanterName;
BoxReturn3
SELECT *
FROM BoxReturn2 INNER JOIN BoxCount ON
(BoxCount.PlanterName=BoxReturn2.PlanterName) AND
(BoxCount.BoxType=BoxReturn2.BoxType);
NOW, BoxReturn3 returns no records at all. I'm gettin pissed. I
tried it with test tables, same thing, and it worked fine!
Please help me solve this problem. Also let me know if you need more
information.
Dave