Query2 tables to create one list?!?

deadelvis

New member
Local time
Today, 02:18
Joined
Oct 12, 2005
Messages
5
I have a db which enables users to enter expenses.

tblExpense
tblExpenseDet
tbleExpenseMileage

tblExpenseDet & tblExpenseMileage are joined to tblExpense

As the expenses are entered at User Level not Client Level, I need to extract the Client ID from the 2 sub tables to create a list grouped by client so we can report the billable expenses.

I'm thinking union query but wouldnt know where to start.

Any help would be appreciated

Ta
 
Its OK i've sorted it with a union query

SELECT * FROM UnionExpDet
UNION
SELECT * FROM UnionExpMil
ORDER BY PeriodID;
 

Users who are viewing this thread

Back
Top Bottom