Recurring entries
Hi from Miami, Fl.. glad this group exists !
Maybe I can get some feedback
Lets make believe a small database
IMMUNIZATION_NAME | IMM_MAKER | IMM_TOTAL_DOSES
dPAT aventis 5
polio merke 4
mmr merke 2
I would like the report engine to cycle on (print) each record
"IMM_TOTAL_DOSES" times, then move on to next record and do the same, ..etc,
etc
I think this is time for a "for loop" but I am unsure of the syntax ....
for x in 1 to IMM_TOTAL_DOSES do
(( here the code to say 'print this record' ))
(( in RAP do I need to decrement x?))
done
Also need help as WHERE to put this done in the event scheme
Be Well!
Maybe I can get some feedback
Lets make believe a small database
IMMUNIZATION_NAME | IMM_MAKER | IMM_TOTAL_DOSES
dPAT aventis 5
polio merke 4
mmr merke 2
I would like the report engine to cycle on (print) each record
"IMM_TOTAL_DOSES" times, then move on to next record and do the same, ..etc,
etc
I think this is time for a "for loop" but I am unsure of the syntax ....
for x in 1 to IMM_TOTAL_DOSES do
(( here the code to say 'print this record' ))
(( in RAP do I need to decrement x?))
done
Also need help as WHERE to put this done in the event scheme
Be Well!
This discussion has been closed.
Comments
Are you using a registered version of ReportBuilder or are you using an
application with ReportBuilder built in?
A simple solution would be to place a TppMemo in your detail band and update
its text based on which record you are printing...
Perhaps inside the DetailBand.BeforePrint event...
begin
ppMemo.Lines.Clear;
for liIndex := 0 to ppReport.Datapipeline['IMM_TOTAL_DOSES'] - 1 do
ppMemo.Lines.Add({add data here});
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com