Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 1st, 2004, 12:06 AM
Registered User
 
Join Date: May 2004
Location: a, , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default About Crystal Report's Viewer.CloseView(Index) Met

Hello,

My Self Sanjeev. I developed 1 appl'n using Visual Basic 6.0 And Crystal Report 8.5. I used Crystal Report Viewer Control to View the report. By using the criewer.ViewReport() method i view the reports. Now i want to Close the View only. So I used CrViewer.CloseView(Index) Method. But in this Method Index is as integer type parameter. I give it as 1,-1,0 and also the ActiveIndex as an Index. But it gives error "Subscript Out Of Range". If i give it null then it show the error for "DataType Mismatch". It should not accept the string type variable or string.

So Please Help me to Solve this problem. What Should me the parameter for CrViewer.CloseViw(?????) method.

Sanjeev.
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports ActiveX Viewer omarmalik Crystal Reports 0 September 14th, 2006 05:39 AM
arabic font in crystal viewer areejan2000 Crystal Reports 1 November 7th, 2005 03:01 AM
arabic font in crystal viewer areejan2000 Crystal Reports 0 November 6th, 2005 10:20 AM
Crystal Viewer Problem (I think) LaFeverMF Crystal Reports 0 June 23rd, 2004 08:52 AM
Crystal Viewer Customisation - 9 RAS donaldt Crystal Reports 0 October 28th, 2003 06:37 AM



All times are GMT -4. The time now is 10:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.