Error on Report but only on deployed code.
Posted: Wed Oct 11, 2006 9:26 am
When I generate my report on my development machine from within Visual Studio, reports generate fine.
However, I'm having a problem with generating some reports on my released version (it works on some reports but consistently having the same problem on certain other reports).
The report is very simple - it consists of 60 formula fields set to "{FieldX}" ie x=1 to 60 to display a variable.
The code sets all the variables and then compiles and renders the form.
The variables are all preset to null in the form (ie it previews ok in the designer).
I get an error on the compile/render phase. The error raised is no 5 and is described as "c:\DOCUME~1\spv\LOCALS~1\Temp\su1tfkr.0.vb(556,0) : error BC30205: End of statement expected.
This same report works in other circumstances (running through the same code but with different data).
I'm guessing it's a problem with the variables but I can't think a) what, or b) how to fix it!
Anybody any thoughtsd on how I can trace the problem down further so I can fix it ?
Thanks in advance
Simon
However, I'm having a problem with generating some reports on my released version (it works on some reports but consistently having the same problem on certain other reports).
The report is very simple - it consists of 60 formula fields set to "{FieldX}" ie x=1 to 60 to display a variable.
The code sets all the variables and then compiles and renders the form.
The variables are all preset to null in the form (ie it previews ok in the designer).
I get an error on the compile/render phase. The error raised is no 5 and is described as "c:\DOCUME~1\spv\LOCALS~1\Temp\su1tfkr.0.vb(556,0) : error BC30205: End of statement expected.
This same report works in other circumstances (running through the same code but with different data).
I'm guessing it's a problem with the variables but I can't think a) what, or b) how to fix it!
Anybody any thoughtsd on how I can trace the problem down further so I can fix it ?
Thanks in advance
Simon