在frReport的OnGetValue事件里写:
procedure TForm1.frReport1GetValue(const ParName: String;
var ParValue: Variant);
var
i,j,k:integer;
begin
for i:=0 to ..do
for j := 0 to ..do
for k := 0 to ..do
if parname='t['+inttostr(i)+']['+inttostr(j)+']['+inttostr(k)+']' then
parvalue := t[j][k];
end;
to hongxing_dl
没有啊 我就是在frreport 啊 请看
procedure TForm1.monthreportGetValue(const VarName: String;
var Value: Variant);
var i,j,k:Integer;
begin
for j:=1 to 3do
for k:=1 to 4do
begin
if parname='t['+inttostr(1)+']['+inttostr(j)+']['+inttostr(k)+']' then
parvalue := '111112';
end;
有什么不对吗
end;