January 15, 200125 yr Create a self-join relationship in your projects file using the project number for the key field. Self-join is described in the manual. You will need either a serial number or DateCreated field to determine the latest record. Then create a calculated field called cLatest: cLatest = Calculation[Max (Projects::SerialNo) = SerialNo] where "Projects" is the name of the self-join relationship, and SerialNo is the unique serial number or date. The value of cLatest will be 1 for the latest record of each project, and 0 for all others.
January 16, 200125 yr I have a database of projects. Each project has a project number. However, there is more than one record for each project number. How can I tag the most recent record of each project number as being "unique" or "most recent"? [This message has been edited by timmy (edited January 15, 2001).]
Create an account or sign in to comment