TFRXUserDatset triggered twice for each field
Hi I am using a TFrxUserDataset and and a TFrxReport. I have some Fields defined in the TFrxUserDataset, I have the report dataset pointed at the TFrxUserDataset. Also I have the Masterdata band pointed at the TFrxUserDataset. I am using the TFrxUserDataset onGetValue to populate the fields in the report
if CompareText(VarName, 'Name') = 0 then
Value := Items[FRXDBWalkPlanner.RecNo].Caption
however I have noticed that the ongetdata is called twice for every field, which I am sure it should not be?
Would it be possible for someone to explain why it does this, or point out my error
thanks
meee
if CompareText(VarName, 'Name') = 0 then
Value := Items[FRXDBWalkPlanner.RecNo].Caption
however I have noticed that the ongetdata is called twice for every field, which I am sure it should not be?
Would it be possible for someone to explain why it does this, or point out my error
thanks
meee
Comments
Thanks for the info, However if I don't connect the dataset to the report, I don't get the field list appear on the right of the report. If I don't connect the Masterdataband to the dataset then the TFrxUserDataset onGetValue does not fire? Should I be using a masterdataband or another type of band
thanks
Meee
meee