Jump to content
Server Maintenance This Week. ×

finding/taggin "unique" records


This topic is 8501 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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).]

Link to comment
Share on other sites

This topic is 8501 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.