Advertisement

07.22.2008 at 09:19AM PDT, ID: 23585611
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.9

Crystal reports causes an error invalid index after being opened and having "any" change applied and saved

Asked by mbarazi in Crystal Reports Software, VB Controls, Microsoft Visual Basic.Net

Tags: ,

I have a windows service written in vb.net 1.1 using vs 2003. I also have a crystal reports template version 8.0. I have recently been asked to modify this report by shifting a text object on the report about a centimeter over. I have done this and now the application throws an invalid index error on the following line of code :

.ReportObjects("TrayDisclaimerUpper").SetText(strUpper)

The code in the service simply refrences report objects by name and sets text string for those text objects on the report template. I have not changed anything on the report. On the developement machine I have both crystal 8 and crystal 10 installed. the exact error I get is:  
Run-time exception thrown : System.Runtime.InteropServices.COMException - Invalid indexStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
If mReportType = mdlGlobalVariables.rptReportType.rptCarton Then
            'TIM 11780 cmj 9/8/05 - removed subreport code
            With mReport.Sections("D")
                .ReportObjects("TrayDisclaimerUpper").SetText(strUpper)
                .ReportObjects("TrayDisclaimerLower1").SetTex(strLower1)
                .ReportObjects("TrayDisclaimerLower3").SetTex(strLower3)
End With
        Else
            mReport.Sections("Header1").ReportObjects("TrayDisclaimerUpper").SetText(strUpper)
            mReport.Sections("DisclaimerTrayLower1").ReportObjects("TrayDisclaimerLower1").SetText(strLower1)
            mReport.Sections("DisclaimerTrayLower2").ReportObjects("TrayDisclaimerLower2").SetText(strLower2)
            mReport.Sections("Footer").ReportObjects("TrayDisclaimerLower3").SetText(strLower3)
        End If
[+][-]07.22.2008 at 11:08AM PDT, ID: 22062000

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:33PM PDT, ID: 22063381

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 08:43PM PDT, ID: 22065810

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 07:51AM PDT, ID: 22079778

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 07:15PM PDT, ID: 22085452

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Crystal Reports Software, VB Controls, Microsoft Visual Basic.Net
Tags: Crystal Report version 8.0 and vb.net 1.1 windows service, invalid index
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.29.2008 at 11:53AM PDT, ID: 22114320

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080924-EE-VQP-39 / EE_QW_2_20070628