Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have a problem with crystal report. This problem occurs only for specific report. Not for all. That is the strange thing. I have passed the String type parameter @PatientName, it works fine with all other reports but whenever I try to put it for the specific one report. It throws an exception called "COM Exception".

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


i dont know why. Can you help me out?
Posted
Comments
ARBebopKid 5-Oct-11 16:42pm    
What code generated the exception?

1 solution

Double check if you are using the correct parameter name @PatientName in the Crystal report and did not make a typing error.
 
Share this answer
 
Comments
Jyoti Choudhury 6-Oct-11 11:51am    
I have solved this problem by recreating the crystal report which was encountering an error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900