title: Error: 536 Error in File <report filename> Unable to connect: incorrect log on parameters
body: <p>I am getting the above error on a client's machine when executing the following code</p>
  
  <pre><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;  
  </code></pre>
  
  <p>The path and the tables exist. The above code also fails when connecting to a report with no subreports.</p>
  
  <p>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?</p>