Jana Posted May 13, 2004 Posted May 13, 2004 Looking up data from another data base with multiple related records is my challenge. My original intent was to set up one database (Location Tracking) for the details and upcoming scheduled changes of advertising for specific locations, and one database (Creative Changes) for entering the creative images/headlines/install dates as they change. I wanted to relate the Creative Changes to the Location Tracking via a portal, but it is impractical since the images take up a bit of room per line item and the portal always adds the next potential line item making the whole location image content reporting layout too long per location. So I would like to just relate the two databases by being able to have the location details fields look up the most resent image/headline/date occurrence. Is there a calculation I can do to tell the field (ie. Current headline) not to lookup the first occurrence, but rather lookup based on the most recent record entry or most current date? The databases are relating based on a unique location number field. Grateful for the help if you can give me any direction. Thanks!
Vaughan Posted May 13, 2004 Posted May 13, 2004 "Looking up data from another data base with multiple related records is my challenge." Lookups only return the value from the *first* related record. Try setting the relationship to sort the related records by date descending, see if that helps.
Oldfogey Posted May 14, 2004 Posted May 14, 2004 Try this. Define a field, Recent, in your main file as Max(Relship::Date) and then use that Recent plus your regular key to look up your values. Klunky but .....
Jana Posted May 14, 2004 Author Posted May 14, 2004 Thank you for both of these usable solutions...Awesome Aussies!
Recommended Posts
This topic is 7567 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