Salad
unread,Dec 11, 2009, 7:29:46 PM12/11/09You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Bill wrote:
> I have an application that keeps track of payments. Those payments
> can be applied to various fees. I am trying to figure out how to
> create a report from the following query.
>
>
> SELECT Paid.PaymentID, PaidAmt.Amt, PaidAmt.AssCatID
> FROM Paid INNER JOIN PaidAmt ON Paid.PaymentID = PaidAmt.PaymentID;
>
> I would like the report to look like this
>
> PaymentID Fine CourtCost Restitution
> 1234 $50.00 $25.00 $10
>
> The colum headings would come from the AssCat.
You have 4 fields and 3 in the select statement. If you have another
table, Asscat, why not add it to the select statement or do you want to
use lookups? Is it the column heading that differ per record? Give the
labels a name like LabelCourtCost and you can do something like
Me.LabelCourtCost.Caption = "Court Cost"