the walker Posted June 28, 2002 Posted June 28, 2002 i am creating a newsletter db to go one the web there will be three issues a year for 30 different countries which i want to keep in the db for people in the office to browse. but i only want the newest one for each country on the web can any one think of a way to self relate the same countries and calculate by issue number the newest record
djgogi Posted June 28, 2002 Posted June 28, 2002 Don't use portal. Sort on Issue Number (decreasing) than present countryRel::NewsLetter or use last(countryRel::NewsLetter) Dj
the walker Posted June 28, 2002 Author Posted June 28, 2002 cheers for that i had found a way just before you sent that i used a rel on country and set a field to = max(country rel::issue num) and the set another calc to if(max = issue num ; "newest"; "old") which works fine cheers
Recommended Posts
This topic is 8255 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