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

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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

861 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