Solved

How to include '+' symbol when using PromptEx

Posted on 2004-10-04
8
248 Views
Last Modified: 2008-02-01
Hi All:

Have a Crystal Report where I am trying to pass 2 arguments: computer program name and version using PromptEx. Almost all of the computer program names display except for one with a version name of "4.0.4a+".  I am assuming the '+' symbol is what is causing the problem.

I tried in my asp page first doing a Server.URLEncode on the version so the portion of the URL string looked like this: ?CodeFamily=GRT33&CompCode=GRT33&Version=4%2E0%2E4a%2B

It did not display any data.

I tried putting quotes around the version like so:
?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a+"

It did not display any data.

Does someone know how you can do this...HELP!
0
Comment
Question by:mathew_s
  • 3
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 12220477
Try using


?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a++"

or


?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a\+"

mlmcc

0
 
LVL 1

Author Comment

by:mathew_s
ID: 12226076
I tried

?CodeFamily=GRT33&CompCode=GRT33&Version=%224.0.4a++%22

?CodeFamily=GRT33&CompCode=GRT33&Version='4.0.4a++'

?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a++"

?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a+"

?CodeFamily=GRT33&CompCode=GRT33&Version="4.0.4a\+"

Nothing worked. However if I refresh the Crystal Report and enter the values in the Crystal Report when it prompts me for the parameters there is no problem there...I don't get it.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12230479
The HTML is grabbibg the + for some reason and not passing it to Crystal.

Where is the problem?  Is it in the report or the ASP page?

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:mathew_s
ID: 12237226
Maybe I should change my selection formula for version to 'like' <version> ...or something like that...

But get a load of this.

After I refreshed the Crystal Report and entered the values it worked right. I then looked at the URL and it showed the following:

&promptex-Version=%224%2E0%2E4a%2B%22

I then went to the URL area in IE and just hit enter again and it should just display the same report...but it displays nothing again.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12245188
Sorry.  I don't know enough about Crystal and ASP to be any further help

mlmcc
0
 
LVL 1

Author Comment

by:mathew_s
ID: 12352617
Here's an update for those of you who want to know how I got this to work. Since ASP kept giving me problems, I decided to go to the selection formula in Crystal and manipulate this to grab the 4.0.4a+ record.

stringvar ASDVersion;
ASDVersion := Left({?Version},6);

If ASDVersion = "4.0.4a" then
   {ASD_Code.Computer Program Name} = {?ComputerProgramName} and
   {ASD_Code.Version} ="4.0.4a+"
Else
   {ASD_Code.Computer Program Name} = {?ComputerProgramName} and
   {ASD_Code.Version} = {?Version};
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 12389846
Closed, 50 points refunded.
CetusMOD
Community Support Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now