Solved

How to include '+' symbol when using PromptEx

Posted on 2004-10-04
8
241 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

10 Experts available now in Live!

Get 1:1 Help Now