Call a fragment written in the secondary job segment, pass @employee. Or Use an ECB-ECE loop in your main report
[EMAIL PROTECTED](sec.job.counter) ., your fields here, but you'll need to use computed fields for name and dob or stagger them by one space ECE=.}, Or Use MV arrays for each field in your record, load in a macro with primary job and all secondary jobs per each employee. Joe Cocuzzo Vice President NPR Services Iatric Systems, Inc. Phone/Fax: (978) 805-4115 Email: [EMAIL PROTECTED] Web: www.iatric.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Behling, Diana Sent: Monday, November 13, 2006 1:19 PM To: L Meditech (E-mail) Subject: [MEDITECH-L] NPR-RW Dynamically generate multiple Detail lines A Question For The Brain -- Is it possible to set up a condition where a Detail line can be generated as needed without having to build all of the Detail lines in the report picture? The scenerio is thus: I'm doing a download for an employee training software system. (Net Learning if anyone is familiar with it). If a person is employed in more than one area in the hospital we need to have a separate line for each job that the employee has in the organization. Meditech allows us to put up to 6 'secondary' jobs on each employee. The detail line for each job would be the same except for the position number of the job and the department. Similar to: Name, DOB, Hire Date, position#-1, dept.....etc Name, DOB, Hire Date, position#-2, dept..... Name, DOB, Hire Date, position#-3, dept..... I'm lazy and don't want to build six different detail lines and all the necessary fields. So, can I use programming to set up a situation where the detail line prints for each employee, and then if the employee has a second, third, etc job the line will print again for that employee and change the position# and dept to the appropriate information? Any suggestions to geet me started in a direction would be appreciated. Thanks, Diana Behling Application Systems Analyst/Programmer Parkview Medical Center 719-584-4642 FAX: 719-584-4879 This e-mail contains the thoughts and opinions of the sender and does not represent official Parkview Medical Center policy. This communication is intended only for the recipient(s) named above, may be confidential and/or legally privileged; and , must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hearby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return to sender and delete the message from your computer system. ====================================== All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l ====================================== All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
