Show last Pay Estimate on a Report

Joe8915

Registered User.
Local time
Today, 13:55
Joined
Sep 9, 2002
Messages
820
Thanks for taking the time to read this

What I am trying to accomplish is to show the last Pay Estimate received on a report. The fields are as follows:

Sub Form
PE_ID
Date Received
Date Sign
Amt Paid
Invoice Number
User assign (to make the payment)

Main Form
Contractor Name and other Information
ID

Table 1
(ID to PE_ID) Relationship is one to many


What would be the best way of doing this



Thanks
 
Last edited:
Hi,

i believe that you are trying to get the Last Or Least Estimate Record in the Report.

What I Usually do is Create a Query using the Two Tables and then Under the Totals Columns Add "Last" in the Date Section. Then Create A Report

I hope you get the point....

Muhammad Atif
 
Thanks for the quick reply

What I was trying to say is I have ONE MAIN form then I have a Sub Form.

The Main Form has all the contractor in basic information.

The Subform has all the invoices, which I am trying to show ONLY the last Invoice received from the Sub Form. I hope this makes a little more sense

mohammadagul said:
Hi,

i believe that you are trying to get the Last Or Least Estimate Record in the Report.

What I Usually do is Create a Query using the Two Tables and then Under the Totals Columns Add "Last" in the Date Section. Then Create A Report

I hope you get the point....

Muhammad Atif
 
Joe8915 said:
Thanks for the quick reply

What I was trying to say is I have ONE MAIN form then I have a Sub Form.

The Main Form has all the contractor in basic information.

The Subform has all the invoices, which I am trying to show ONLY the last Invoice received from the Sub Form. I hope this makes a little more sense

If your subfrm is based on a query and the tbl or source has a date field, then, add MAX to the date fields group by in the query.... now if these contractor invoice records can have the same date more than once you'll have to do the query differently.....
 

Users who are viewing this thread

Back
Top Bottom