我在报表中有10个QRLable,我怎么才能对它们进行赋值呢:
for i:=1 to 10 do
  QRLable(i).caption:=inttostr(i);
这句话为什么不行?应该怎么改呀?