Newbies djsolo Posted March 21, 2006 Newbies Share Posted March 21, 2006 I'm setting up a database to track visual effect shots for a short film. The MAIN table has the shot number and a field for the approved version. The VERSION table has fields for serial number, shot number, version number, and a field for approved/not approved. The tables are linked by shot number. I only want the "approved" version number from the VERSION table to appear in the "approved version" field on the MAIN table. There must be a clever way to do this that I just can't think of! Link to comment Share on other sites More sharing options...
RalphL Posted March 21, 2006 Share Posted March 21, 2006 Add a global field to Main and set its value to "Approved". Make a relationship to Version Shot Number = Shot Number AND Global = the field for approved/not approved Link to comment Share on other sites More sharing options...
comment Posted March 21, 2006 Share Posted March 21, 2006 You could define a calculation field in Versions = Case ( Approved ; ShotID ) then define a new relationship based on this field. However, what you describe allows for more than one version to be approved. A better way would be to select the version by a script that sets an ApprovedVersionID field (in the Shots table) to the selected VersionID value. Link to comment Share on other sites More sharing options...
Newbies djsolo Posted March 21, 2006 Author Newbies Share Posted March 21, 2006 Excellent, thanks! And so simple Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6752 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 accountSign in
Already have an account? Sign in here.
Sign In Now