Solved

getting error on crystal report (DISP_E_BADINDEX)

Posted on 2008-10-26
2
1,165 Views
Last Modified: 2010-07-27
trying to set parameter value for report using

rptLoad(rptPath)    ' path has been set correctly
rpt.setparametervalue("{policyno}", policyno)

On Setparametervalue line" I get error

error on report: Invalid Index. (Exception from HRESULT: ox8002000B (DISP_E_BADINDEX)
0
Comment
Question by:jbh_blue
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 22819124
Try

rpt.setparametervalue("policyno", policyno)

or

rpt.setparametervalue("{?policyno}", policyno)

mlmcc
0
 

Author Closing Comment

by:jbh_blue
ID: 31510197
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now