Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Database and Reporting > Crystal Report 8.5 in .NET 2002


Reply
 
Thread Tools Display Modes
  #1  
Old 05-28-2004, 01:41 AM
agustianhans agustianhans is offline
Newcomer
 
Join Date: Oct 2003
Posts: 5
Question Crystal Report 8.5 in .NET 2002


Hi, friend

I use Crystal Report 8.5 in my application (.NET 2002).
I have 2 application :
1. ASP WebService Application.
2. Windows Application.

I use Crystal Report 8.5 as Report WebService (in ASP WebService Application)
and i access the report from Windows Application.

When i access the report, my application show form parameter for fill criteria is required by report.

How do i disappear the form from my application, and send criteria is required by report through the code ?


Thanks, regard
Reply With Quote
  #2  
Old 05-28-2004, 08:28 AM
MKoslof's Avatar
MKoslof MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

Are you using the RDC for this. (I assume you are)

1) You need to set the Report object's parameter prompting to false.

crxObj.EnableParameterPrompting = False

2) Then you can loop the paramater objects in the report, search by the ParameterField.Name. If you find it, clear the current value and range and set the runtime value via the .setCurrentValue method.
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->