Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

How do I enter a parameter value that has a string value

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Feedback
View previous topic :: View next topic  
Author Message
BouBouchan

Joined: 11 Mar 2005
Posts: 3
PostPosted: Tue Mar 15, 2005 4:39 pm    Post subject: How do I enter a parameter value that has a string value Reply with quote

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
View user's profile Send private message
JamesJ

Joined: 17 Feb 2005
Posts: 133
PostPosted: Tue Mar 15, 2005 8:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 694
PostPosted: Wed Mar 16, 2005 7:30 am    Post subject: Reply with quote

James is correct. I will strip off the ' in front and then pass the number as a string value.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Feedback All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron