A
Alison Downing via AccessMonster.com
Hello,
I'm sure there's a simple answer to this but despite searching this site I
can't seem to find what I need, and although I think I might have some
ideas to follow up, I decided it was time to ask the experts.
I've seen many postings where the first response requests more details so
I'll try to give you everything in one hit and trust that I haven't
overdone it.
I'm run a sole-trader business in the UK, registered for VAT, trying to
build myself a simple(ish) database that will help me manage my accounts.
Every three months, I have to make a report which shows the total amount I
invoiced before tax, and the tax amount for those invoices, and the total
amount I paid out before tax and the tax amount for those payments. I've
set up two tables which record all my transactions and, from them, I have
two queries; one shows income, one shows payments as follows;
InvoiceQuery
[Date] ..... the date that the invoice was raised
[NetPrice] ..... net value of invoice before tax
[InvVATCalc] ...... calculated tax value
[Customer]
[DatePaid] .... the date the invoice was paid (because I only have to
include the total in my report if the invoice has been paid.
PaymentQuery
[Date] .... the date the payment was made
[NetCalc] .... net value of payment
[VATCalc] .... calculated TAX value
I'm trying to build a report that shows totals for;
[InvVATCalc] ... from InvoiceQuery
[VATCalc] ... from PaymentQuery
[[Net Price] ... from InvoiceQuery
[NetCalc] ... from PaymentQuery
BUT ... I need the report to only pull the records where
[InvoiceQuery.DatePaid] or [PaymentQuery.Date] are between an entered date
range.
What I can't seem to get right is how to get all 4 fields from the 2
queries onto the report. I followed Access Help instructions and got a
message that I'd chosen fields that the wizard could not connect. I've
tried building a relationship between the queries on [InvoiceQuery.DatePaid]
and [PaymentQuery.Date]but this returned me 3 times the number of records I
was expecting.
I found out how to make a 'totals' field on a report from one of the forums
and I've set up a separate form for entering the date criteria when I can
get everything else working.
Should I be putting each field in as a subreport or is there a simpler
solution?
Any advice would be helpful, I've been at this now for nearly a week and
I'd really like to move on to another area of this database .
Thanks
Alison
I'm sure there's a simple answer to this but despite searching this site I
can't seem to find what I need, and although I think I might have some
ideas to follow up, I decided it was time to ask the experts.
I've seen many postings where the first response requests more details so
I'll try to give you everything in one hit and trust that I haven't
overdone it.
I'm run a sole-trader business in the UK, registered for VAT, trying to
build myself a simple(ish) database that will help me manage my accounts.
Every three months, I have to make a report which shows the total amount I
invoiced before tax, and the tax amount for those invoices, and the total
amount I paid out before tax and the tax amount for those payments. I've
set up two tables which record all my transactions and, from them, I have
two queries; one shows income, one shows payments as follows;
InvoiceQuery
[Date] ..... the date that the invoice was raised
[NetPrice] ..... net value of invoice before tax
[InvVATCalc] ...... calculated tax value
[Customer]
[DatePaid] .... the date the invoice was paid (because I only have to
include the total in my report if the invoice has been paid.
PaymentQuery
[Date] .... the date the payment was made
[NetCalc] .... net value of payment
[VATCalc] .... calculated TAX value
I'm trying to build a report that shows totals for;
[InvVATCalc] ... from InvoiceQuery
[VATCalc] ... from PaymentQuery
[[Net Price] ... from InvoiceQuery
[NetCalc] ... from PaymentQuery
BUT ... I need the report to only pull the records where
[InvoiceQuery.DatePaid] or [PaymentQuery.Date] are between an entered date
range.
What I can't seem to get right is how to get all 4 fields from the 2
queries onto the report. I followed Access Help instructions and got a
message that I'd chosen fields that the wizard could not connect. I've
tried building a relationship between the queries on [InvoiceQuery.DatePaid]
and [PaymentQuery.Date]but this returned me 3 times the number of records I
was expecting.
I found out how to make a 'totals' field on a report from one of the forums
and I've set up a separate form for entering the date criteria when I can
get everything else working.
Should I be putting each field in as a subreport or is there a simpler
solution?
Any advice would be helpful, I've been at this now for nearly a week and
I'd really like to move on to another area of this database .
Thanks
Alison