| View previous topic :: View next topic |
| Author |
Message |
| BouBouchan
| | Joined: 11 Mar 2005 | | Posts: 3 | |
|
Posted: Tue Mar 15, 2005 4:39 pm Post subject: How do I enter a parameter value that has a string value |
|
|
Nice product. I have problems entering a parameter value such as 1, 3, 4, 5 but in fact they are strings. My database store these values as strings so I have to use string value in my crystal reports which causing problem in crystal delivery.
The reports will run in crystal delivery if I choose to prompt for missing parameters. It won't run if i use the parameter selection box and enter the parament such as 1. How should I enter it? I want to automate the report without entering prompt. Any suggestions are welcome. Thanks. |
|
| Back to top |
|
 |
| JamesJ
| | Joined: 17 Feb 2005 | | Posts: 133 | |
|
Posted: Tue Mar 15, 2005 8:44 pm Post subject: |
|
|
I think this is in the "help" section - I know I read it somewhere - but if you want a number to be interpreted as a string, just put a ' (single-quote, the unshifted double-quote, to the right of the semi-colon on a US keyboard) in front of the number. For example, instead of 1 enter '1 . It's worked for me.
James |
|
| Back to top |
|
 |
| kgroff Site Admin
 | | Joined: 27 Jan 2005 | | Posts: 694 | |
|
Posted: Wed Mar 16, 2005 7:30 am Post subject: |
|
|
| James is correct. I will strip off the ' in front and then pass the number as a string value. |
|
| Back to top |
|
 |
|