Crystal Report 8.5 in .NET 2002

agustianhans
05-28-2004, 01:41 AM
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

MKoslof
05-28-2004, 08:28 AM
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.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum