Hi,
I have a very simple database, so far anyway. 2 tables:
tbl_All_Accounts - this simply has a list of account numbers
tbl_Account_Info - this has account numbers, plus a 2nd column with order numbers
What I want to do is to display all the account numbers from tbl_All_Accounts with a count of order numbers, by account number, from tbl_Account_Info.
I created a query with account number from All_Accounts and order number from Account_Info. Grouped All_Accounts, Count Account_Info - but, where there are 2 orders against an account, in the query it shows 4, if there are 3 orders it shows 6 etc...
Any ideas why?
Note, the reason for using the 2 tables is some accounts in All_Accounts are not in the Account_Info table - so I want to show all Account numbers, and then count if there are any Order Numbers.
Many thanks in advance.
I have a very simple database, so far anyway. 2 tables:
tbl_All_Accounts - this simply has a list of account numbers
tbl_Account_Info - this has account numbers, plus a 2nd column with order numbers
What I want to do is to display all the account numbers from tbl_All_Accounts with a count of order numbers, by account number, from tbl_Account_Info.
I created a query with account number from All_Accounts and order number from Account_Info. Grouped All_Accounts, Count Account_Info - but, where there are 2 orders against an account, in the query it shows 4, if there are 3 orders it shows 6 etc...
Any ideas why?
Note, the reason for using the 2 tables is some accounts in All_Accounts are not in the Account_Info table - so I want to show all Account numbers, and then count if there are any Order Numbers.
Many thanks in advance.