11
Answers

Problem with the Crystal Report

Nel

Nel

13y
3.4k
1
Hi,

I made the Crystal Report at home on my laptop. Then when I came to work I tried to run the application on another machine and the report didn't work. I made it again, chose the database, but now it doesn't work well. I get the following error:

Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

on this row:

cryRpt.SetParameterValue("@br_kas_izvod", textBox1.Text);

The report opens, but without data retrieved from the database.

Previously, when I tested it on the laptop, it asked for enteing a descrete value, and that's why I enetred that row, for sending the parameter from the textbox as a parameter.

Could anybody help me please what might be the problem ?
Thanks in advance.
Answers (11)