Crystal Reports problem
I have a problem on the following line:
rd.PrintOptions.PaperSize = PaperSize.PaperFanfoldStdGerman;
it throws an exception: HRESULT: 0x8002000B (DISP_E_BADINDEX))
if I omit this line, the same error is found here:
rd.PrintOptions.ApplyPageMargins(config)
Has anyone had this problem before? thank!
0
Bruno
source
to share
2 answers
My guess is that your string is before the failure and as such is being reported on the next call. Check the line before
rd.PrintOptions.PaperSize = PaperSize.PaperFanfoldStdGerman;
0
Gavin miller
source
to share
Fixed!
The problem was a field that did not exist in the DataSet.
0
Bruno
source
to share