getting error on crystal report (DISP_E_BADINDEX)

Posted on 2008-10-26
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)
Question by:jbh_blue
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 100

Accepted Solution

mlmcc earned 500 total points
ID: 22819124

rpt.setparametervalue("policyno", policyno)


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


Author Closing Comment

ID: 31510197

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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.…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 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