Hi
I am getting the above error on a client's machine when executing the following code
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;
The path and the tables exist. The above code also fails when connecting to a report with no subreports.
I cannot see why it is given me incorrect log on parameters as they are just tables. On other machines it works just fine. Any ideas?