All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hello all,
Thanks to Joe Cocuzzo's input I was able to solve my issue with pulling
multiple data from a fragment.
To pull in data from a fragment to a main report as in "one to many",
Meditech's explanation at their website is quite vague, so here are some more
details:
http://www.meditech.com/MIXMAGTactical/NPRReportWriter/0103NprRw.htm
On the main report:
Place at least three detail lines on the picture
On detail line 1 you place the call to the fragment in a line attribute, as in:
[EMAIL
PROTECTED]/MENU,%Z.rw.fragment("MIS.USER.zcus.menu.users.v1.frag.R","MIS"),""
Notice the quotes; we are not printing anything on the detail line.
On detail line 2 you define the first value that will be printed here, as in:
LC=1^LINE
On this detail line you place the first computed field that receives
the data from the fragment for a particular field, as in:
xx.user.1
VAL=/R.FRAG.VAL[LINE,"USER"]
On detail line 2 you define the ECB/ECE loop where the following values will be
printed, as in:
ECB=DO{+/R.FRAG.VAL[LINE]^LINE .,
ECE=.},
On this detail line you place the second computed field that will
receive all the other data from the fragment for a particular field, as in:
xx.user.x
VAL=/R.FRAG.VAL[LINE,"USER"]
On the fragment report:
On the detail line you send the data in a line attribute, as in:
[EMAIL PROTECTED]/R.FRAG.VAL[CNT1+1^CNT1,"USER"],
[EMAIL PROTECTED]/R.FRAG.VAL[CNT2+1^CNT2,"NAME"],""
Notice that if you send more then one data field you have to edit the
name of the counter.
Hopefully this will be of any good use to someone.
Regards,
Marc
Marc Benoy RN, MS, MBA
Clinical IT Project Leader RN
301.552.8876 (Phone)
301.552.8181 (Fax)
[EMAIL PROTECTED]
Doctors Community Hospital
8118 Good Luck Road
Lanham, MD 20706
Magic 5.4
CONFIDENTIALITY STATEMENT: This communication, including attachments, is for
the exclusive use of addressee and may contain proprietary, confidential or
privileged information. If you are not the intended recipient, you are hereby
notified that any disclosure, use, copying, dissemination, distribution or
taking of any action in reliance on the content of this information is strictly
prohibited. If you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all
copies. Thank you.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l