millmaine Posted July 12, 2013 Posted July 12, 2013 We want to summarise data from all projects by a particular client by date range. I'm quite happy with the way I've managed to set that up. What I'm having trouble with is adding a list of the projects as one piece of text. I can set up a script that finds all the relevant projects and exports the Project Name(s). And I think with a bit of messing about I could figure out how to import that to as one piece of text. (I can do it manually so I must be able to automate it!) I'm pretty sure though, that there's a simpler way. I've played around with Merge Variables but I really don't think I'm getting it. Any tips?
bcooney Posted July 12, 2013 Posted July 12, 2013 Not sure where you're going with this, but take a look at the List ( ). Another way is to loop thru the found set and build a list in a global (field or variable). Why do you need all the Project Names in one field?
doughemi Posted July 12, 2013 Posted July 12, 2013 You have a client table and a project table, right? Create a global field StartDate, and another EndDate in clients. Create a relationship your client table and a TO of your project table: clients::StartDate ≤ projectsTO::Date clients::EndDate ≥ projectsTO::Date clients::id = projectsTO::ClientID Create a calculation field in clients = List(projectsTO::ProjectName) 1
millmaine Posted July 15, 2013 Author Posted July 15, 2013 You have a client table and a project table, right? Create a global field StartDate, and another EndDate in clients. Create a relationship your client table and a TO of your project table: clients::StartDate ≤ projectsTO::Date clients::EndDate ≥ projectsTO::Date clients::id = projectsTO::ClientID Create a calculation field in clients = List(projectsTO::ProjectName) That works. Now I need one more tweak. Each project is on a separate line. I want them as a single block of text with line-breaks replaced by comma space (or some other separator). Any help on that?
Recommended Posts
This topic is 4484 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