执行以下代码时,我在客户端机器上收到上述错误
for i := 0 to crpe.Subreports.Count - 1 do
for j:=0 to crpe.Subreports[i].Tables.Count - 1 do
crpe.Subreports[i].Tables[j].Path := path;
crpe.Subreports[0]; {This line points the VCL back to the main Report}
for i := 0 to crpe.Tables.Count - 1 do
crpe.Tables[i].Path := path;
路径和表存在。连接到没有子报表的报表时,上述代码也会失败。
我不明白为什么给我的登录参数不正确,因为它们只是表格。在其他机器上它工作得很好。有任何想法吗?