D
David S. Calef
I need help creating a report that takes transactions in one table,
and looks up percents in a second table:
Table1: Account
Code
type
totalamount
Table2 Account
Code
Type
Percent1
Percent2
Percent3
Percent4
There are multiple transactions in table 1 that a report (or query) must
look up the 4 percents for that transactions Type, by Code and by
Account.... then I use the 4 percents to calculate the dollars splits I need
in the report. Each separate report will be for just one account that I
specify when I run the account.
If I could do this in a query, great. But how do I do a query with multiple
joins. I would do a join to table two on Account, plus Code, plus Type. I
can get to the Account, and have percents returned. As soon as I add a
second I get nothing.
If I need to do this in VBA....., where?
Or is an approach using Crystal easier.
I have done simple reports and simple queries for years. This I need a help
on how to accomplish.....
Thanks,
David
and looks up percents in a second table:
Table1: Account
Code
type
totalamount
Table2 Account
Code
Type
Percent1
Percent2
Percent3
Percent4
There are multiple transactions in table 1 that a report (or query) must
look up the 4 percents for that transactions Type, by Code and by
Account.... then I use the 4 percents to calculate the dollars splits I need
in the report. Each separate report will be for just one account that I
specify when I run the account.
If I could do this in a query, great. But how do I do a query with multiple
joins. I would do a join to table two on Account, plus Code, plus Type. I
can get to the Account, and have percents returned. As soon as I add a
second I get nothing.
If I need to do this in VBA....., where?
Or is an approach using Crystal easier.
I have done simple reports and simple queries for years. This I need a help
on how to accomplish.....
Thanks,
David