Not sure, I do not have a detail section. layout is kinda like this
GroupHeader
Order # Cust # Cust name
GroupFooter
Running totals for all the items that make up the page. On this line is where I want to print a message if an Item or Item Operation is deleted.
Right now I am building this array in the group header
whilereadingrecords;
Global stringvar array MsgArray;
numbervar Counter;
if not ({PL34ReportTable.Message}in MsgArray) then
(Counter := Counter +1;
if Counter < 1000 then
(Redim Preserve MsgArray[Counter];
MsgArray[Counter] := {PL34ReportTable.Message}))
and trying to do this in the footer
whileprintingrecords;
Global stringvar array MsgArray;
if "I" in MsgArray then
'WARNING - ITEM DELETED'
Problem is I get the message on every line, should only have about 10 messages in the rpt.
I assume this is because the array is not matching the order to the group footer value since it is not in the array so can I build a 2 dimensiaonl array that has order # and all the messages for that order and then do soemthing like the message above. If so how?