Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameters To Crystal In Java?

Status
Not open for further replies.

webgolf

Programmer
Jan 20, 2003
8
US
Okay, here is the problem. Running CR 8.5 and I am trying to pass ClientID (1001-01). The Crystal report viewer does not like the hyphen (-) in ClientID, so how do I pass
1001-01 in Java so the hyphen no longer causes a problem. The user is enters in begin and end dates and the ClientID is captured during the login process, not enetered by user.
Sample Code:
destUrl = " + id + "&apstoken=" + escape(token) +"&init="+escape(':connect') +"&promptex-clientid=\"" + ClientID + "\"&promptOnRefresh=0";

Error Message:File C:\ProgramFile\CrystalDecisons\WebContent\Enterprise\viewrpt.cwr not found on [On Cahce/Page Server: Name of pageserve]

One other error message: File C:\Inetpub\wwroot\ereport\viewer.cwr not found [On Cahce/Page Server: Name of pageserve]

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top