Jump to content
Sign in to follow this  
BobWeaver

finding/taggin "unique" records

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.

Share this post


Link to post
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).]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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