JHMarshIII
Registered User.
- Local time
- Today, 07:01
- Joined
- Feb 8, 2002
- Messages
- 19
I am trying to retrive the record that has the latest expiration date for inclusion on a report or for display in a form using a query to pull the related expiration date from the Many to One side of a relationship.
I have tried unsucessfully to use the MAX(fieldname) function. I keep getting an aggegrate error on the first field in the query.
I created a database to track memberships and due payments. I have two tables, Members and FinHist. They are joined on memberID. Each time a member pays his/hers dues, a new record is created in the FinHist table. The membership's most current exiration date should always be the latest record in the FinHist table. It is this record I awsays want to retrieve or display. What I am I doing wrong or what do I need to do?
I have tried unsucessfully to use the MAX(fieldname) function. I keep getting an aggegrate error on the first field in the query.
I created a database to track memberships and due payments. I have two tables, Members and FinHist. They are joined on memberID. Each time a member pays his/hers dues, a new record is created in the FinHist table. The membership's most current exiration date should always be the latest record in the FinHist table. It is this record I awsays want to retrieve or display. What I am I doing wrong or what do I need to do?