Hi, I have a TStringList which I want to print in a report. One subdetailline per String in the List.
So, I figured I have to use the OnNeedData event of the subdetail to print each rule.
No I have the following code:
procedure TLCRepForm.HygOpdtNeedData(Sender: TObject;
var MoreData: Boolean);
if HygList.Count > ListCount then
HygOp.Caption := GebouwList.Strings[ListCount];
MoreData := GebouwList.Count > ListCount ;
where the HygOp is a label on my subdetailrecord. I have the dataset of the subdetail empty..
I can't figure out what I'm doing wrong.. It just print nothing...
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.