Hi Zef,
> In the previous example, the query would return 5 records. One for
> each employee.
Do you see a join line in query design view that connects fields in each
table? If not, then you definately have a cartesian product result. Please
post the SQL (Structured Query Language) statement for this query. Open the
query in design view. Then click on View > SQL View. Please copy the SQL
statement and post it into a reply.
Tom Wickerath
Microsoft Access MVP
https://mvp.support.microsoft.com/profile/Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
> Hi Tom,
>
[quoted text clipped - 6 lines]
> Thanks,
> Zef.
huzefahashim@gmail.com - 17 May 2007 18:22 GMT
Hi Tom,
I believer there is a join line. The following is the SQL view for you
to confirm:
SELECT CompleteList.*, OrderDetails.*, OrderDetails.ItemNum,
CompleteList.Bill
FROM CompleteList INNER JOIN OrderDetails ON CompleteList.[Category
No]=OrderDetails.Category
WHERE (((CompleteList.Bill)="001/2007"));
The CompleteList is the table of employees and their details. The
OrderDetails is the table of details of the order. Category and
Category No are the link between the two. Each employee is allocated a
uniform depending on what category they are in. The Bill is the Bill
number which I am about to print. Any more questions?
Thanks for the help.
Zef.
> Hi Zef,
>
[quoted text clipped - 22 lines]
> > Thanks,
> > Zef.