Greg M Posted March 10, 2005 Posted March 10, 2005 I have a three-database system in which I have one file containing personnel records, one record per person. I have two related databases for project managers to record projects and project hours (one project per record), and log who worked on which project and how many hours they should be credited for. In the personnel records database, I have a portal that lists the projects each individual worked on. How can I print out a report for each individual that contains the same data as that portal? Often there are more related records than the number of portal rows I have set.
Greg M Posted March 10, 2005 Author Posted March 10, 2005 I have a three-database system in which I have one file containing personnel records, one record per person. I have two related databases for project managers to record projects and project hours (one project per record), and log who worked on which project and how many hours they should be credited for. In the personnel records database, I have a portal that lists the projects each individual worked on. How can I print out a report for each individual that contains the same data as that portal? Often there are more related records than the number of portal rows I have set.
Greg M Posted March 10, 2005 Author Posted March 10, 2005 I have a three-database system in which I have one file containing personnel records, one record per person. I have two related databases for project managers to record projects and project hours (one project per record), and log who worked on which project and how many hours they should be credited for. In the personnel records database, I have a portal that lists the projects each individual worked on. How can I print out a report for each individual that contains the same data as that portal? Often there are more related records than the number of portal rows I have set.
BobWeaver Posted March 11, 2005 Posted March 11, 2005 Where you have a one to many relationship, you should print from the file (or table) which is on the "many" side of the relationship. Then, you don't need a portal at all, and you can use FM's summary parts and summary fields in your report.
BobWeaver Posted March 11, 2005 Posted March 11, 2005 Where you have a one to many relationship, you should print from the file (or table) which is on the "many" side of the relationship. Then, you don't need a portal at all, and you can use FM's summary parts and summary fields in your report.
BobWeaver Posted March 11, 2005 Posted March 11, 2005 Where you have a one to many relationship, you should print from the file (or table) which is on the "many" side of the relationship. Then, you don't need a portal at all, and you can use FM's summary parts and summary fields in your report.
Greg M Posted March 11, 2005 Author Posted March 11, 2005 I'm still not quite understanding... in my Project databases, the "Participants" field, which records who contributed to which project, is a single repeating field. I need a quick way to print individual reports for 150 individuals.
Greg M Posted March 11, 2005 Author Posted March 11, 2005 I'm still not quite understanding... in my Project databases, the "Participants" field, which records who contributed to which project, is a single repeating field. I need a quick way to print individual reports for 150 individuals.
Greg M Posted March 11, 2005 Author Posted March 11, 2005 I'm still not quite understanding... in my Project databases, the "Participants" field, which records who contributed to which project, is a single repeating field. I need a quick way to print individual reports for 150 individuals.
dkemme Posted March 12, 2005 Posted March 12, 2005 If the individuals to send the records to are in a repeating field could you set a loop as such: Loop set field gNum,1 set field gTxt,GetRepetition ( repeatingField ; gNum ) Do your printing with gTxt as the recipient set field gNum,gNum + 1 exit loop if gNum > count ( repeatingField) end loop I hate doing this and is why I have learned to avoid repeating fields, but it works.
dkemme Posted March 12, 2005 Posted March 12, 2005 If the individuals to send the records to are in a repeating field could you set a loop as such: Loop set field gNum,1 set field gTxt,GetRepetition ( repeatingField ; gNum ) Do your printing with gTxt as the recipient set field gNum,gNum + 1 exit loop if gNum > count ( repeatingField) end loop I hate doing this and is why I have learned to avoid repeating fields, but it works.
dkemme Posted March 12, 2005 Posted March 12, 2005 If the individuals to send the records to are in a repeating field could you set a loop as such: Loop set field gNum,1 set field gTxt,GetRepetition ( repeatingField ; gNum ) Do your printing with gTxt as the recipient set field gNum,gNum + 1 exit loop if gNum > count ( repeatingField) end loop I hate doing this and is why I have learned to avoid repeating fields, but it works.
Recommended Posts
This topic is 7188 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