I seem to recall there is a way to make FM print multiples with single
valued fields around their column, but I am drawing a blank on how to
express the syntax. Maybe George or someone else can tell us if I am
all wet.
Generally, you will find that multiples complicate a report because
they print out one entry per line and that tends to waste a lot of
space on the page. Could you redesign the report so the multiples come
at the end of the record's display?
Michael Reach wrote:
Here's the templates, and the results:
[TST,DEV]>s D0=3037 D ^DIPT
FIRST PRINT FIELD: "Rule Name: ";S2//
THEN PRINT FIELD: RULE NAME;X;L10//
THEN PRINT FIELD: "Test Name: ";C24//
THEN PRINT FIELD: TEST NAME;X;L18//
THEN PRINT FIELD: "Status: ";C55//
THEN PRINT FIELD: STATUS;L10;X//
THEN PRINT FIELD: "Last modified: ";C1//
THEN PRINT FIELD: MODIFY DATE/TIME;X//
THEN PRINT FIELD: ", by ";X//
THEN PRINT FIELD: MODIFIED BY;X//
THEN PRINT FIELD: "Components:";S;C1//
THEN PRINT FIELD: COMPONENTS//
THEN PRINT COMPONENTS SUB-FIELD: COMPONENTS;L5//
THEN PRINT COMPONENTS SUB-FIELD: //
THEN PRINT FIELD: "Instruments:";C23//
THEN PRINT FIELD: INSTRUMENTS//
THEN PRINT INSTRUMENTS SUB-FIELD: INSTRUMENTS;L8;"";""//
THEN PRINT INSTRUMENTS SUB-FIELD: //
THEN PRINT FIELD: "Instr Type: ";C50//
THEN PRINT FIELD: INSTRUMENT TYPE;X//
THEN PRINT FIELD: "Current version of rule:";S//
THEN PRINT FIELD: TRANSLATION;C5;""//
THEN PRINT FIELD: "THEN Autoverify: ";S//
THEN PRINT FIELD: THEN AUTO-VERIFY STATUS;X//
THEN PRINT FIELD: "THEN Action: ";C1//
THEN PRINT FIELD: THEN OTHER ACTION;X//
THEN PRINT FIELD: "THEN Operator Message: ";C1//
THEN PRINT FIELD: THEN OPERATOR MESSAGE;X//
THEN PRINT FIELD:
"-------------------------------------------------";C1;S//
--------------------------------------------------------------------------------
RESULTS, one record (the words MOD1 and MOD2 were vertically aligned):
RULES FOR VERIFY LIST MAR 4,2005 11:22
PAGE 1
COMPONENTS
Rule Name: ALB11 Test Name: ALBUMIN Status: ACTIVE
Last modified: FEB 22,2005, by BADIAN,HUGH
Components: 113 Instruments: MOD1
MOD2 Instr
Type: HITACHI DP
Current version of rule:
IF ALBUMIN/(TOTAL PROTEIN-ALBUMIN) < 1
THEN Autoverify: NO
THEN Action: HOLD
THEN Operator Message: Check for clot. Repeat analysis for all tests.
-----------------------------------------------------------------------
Can you cut and paste the dialog for the report (sort and print
templates) so we can see them?
Michael Reach wrote:
Hi! I've been having a problem with a Fileman print template. When one
of the columns contains data from a multiple, which prints as a
vertical
list, the next column starts from the end of the multiple list, so it
comes out looking like this:
Smith Jun 3, 2000 573803111 MOD1
MOD2
MOD3
ACTIVE 71
Jones Jan 2, 2000 212392384 MOD1 INACTIVE
75
Note how ACTIVE and 71 are too low. Of course, I can just put the
INSTRUMENTS column last on the right... Can someone explain why this
would happen, and how to avoid it?
Thanks,
Michael Reach
Can you cut and paste the dialog for the report (sort and print
templates) so we can see them?
Michael Reach wrote:
Hi! I've been having a problem with a
Fileman print template. When one
of the columns contains data from a multiple, which prints as a
vertical
list, the next column starts from the end of the multiple list, so it
comes out looking like this:
Smith Jun 3, 2000 573803111 MOD1
MOD2
MOD3
ACTIVE 71
Jones Jan 2, 2000 212392384 MOD1 INACTIVE
75
Note how ACTIVE and 71 are too low. Of course, I can just put the
INSTRUMENTS column last on the right... Can someone explain why this
would happen, and how to avoid it?
Thanks,
Michael Reach
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members
--
Greg Kreis http://www.PioneerDataSys.com
"You are today where your thoughts have brought you, you will
be tomorrow where your thoughts take you." (James Lane Allen)
|