Newbies Tom Maxwell Posted March 12, 2008 Newbies Posted March 12, 2008 Hi there, So many posts talk about how to get a count of related records. I think I have that figured out, but I also want a count of the subsummary field. I have a contact management database that has a Contacts table and an Activity table. The activity table has a relationship to the contacts table, so that contacts may have one-to-many activities. I have created a report that uses the contact name as the subsummary field, and provides a count for related activities. What I want in addition is a count of the contacts. The scenario is this - the activity table is a list of the different activities that occur for a contact, along with a date/timestamp, and an activity type. As people work with the database, for each activity they do (make a phone call, email, etc) a row is created in the activity table. The row includes the primary key of the contact. Right now, the report shows a count of each type of activity for each contact, plus a sum of all the activities. I just want in addition a count of contacts, so I can say we talked to x number of contacts during a specific date range. It seems like this should be easy, but I've spent a day on it trying a bunch of stuff and getting no where. Oh please, please, please help. -Tom
comment Posted March 12, 2008 Posted March 12, 2008 See if this helps: http://www.fmforums.com/forum/showtopic.php?tid/135476/
Newbies Tom Maxwell Posted March 12, 2008 Author Newbies Posted March 12, 2008 Wow! That totally works. Weird though - does this feel like kind of a weird hack to you? I'm not complaining though! Thank you. I hope my hair grows back. -Tom
comment Posted March 13, 2008 Posted March 13, 2008 It doesn't feel like a weird hack - it IS a weird hack. But it's still the only way I know to get this (other than running a script to do a finger-count).
Recommended Posts
This topic is 6160 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