[MEDITECH NPR Reports / NPR Report Writing / NPR Report Writer / MEDITECH Report / Non-Procedural Report / NPR Reports / MEDITECH Reports] <a href="http://comstock-software.com">MEDITECH Reports</a>MEDITECH NPR Report Writing: Calling Report Values Not Crossing to Fragment

Wednesday, March 21, 2007

Calling Report Values Not Crossing to Fragment

=== QUESTION ===
I’m trying to send a 'select' order.date the user puts in over to a frag so that it runs the frag for the same date range:

b.order.date^/STARTDATE
e.order.date^/ENDDATE


And then in the fragment:

start.date EQ /STARTDATE

It doesn’t like that at all not sure if it’s the b.order.date or what.

=== ANSWER ===
The NPR report writer cleans up variables that don't start with /R.FRAG.VAL.

In the calling report:
b.order.date^/R.FRAG.STARTDATE,
e.order.date^/R.FRAG.ENDDATE,

In the report fragment:
start.date EQ /R.FRAG.STARTDATE
end.date EQ /R.FRAG.ENDDATE


.: This relates to NPR Fragment. :.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

[MEDITECH NPR Reports / NPR Report Writing / NPR Report Writer / MEDITECH Report / Non-Procedural Report / NPR Reports / MEDITECH Reports]