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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone know how to mask data while inputting values for a parameter?

Status
Not open for further replies.

dwilliams

Programmer
Jan 15, 2001
10
US
If I have a table that looks something like this
Key Name
--- ----
-2 <cr.2>
-1 <cr.3>
203 Me
206 Dan
208 Bob

I want to mask out all occurences of a -{Key} so that I can add all valid names to the default value window in the Set Default Values window of creating a parameter.

Can you use a formula to do so:
If {table.Key} >0 Then {table.Name}

Is this even possible?
 
Are you going to pass parameter value from VB or directly? If from VB then you can change there only. By using DBList where display value is different and retreive value could be different
 
If you are using the parameter 'default values' window to create the list there are no formulas you can use.

However you can also load these values from a a formated text file. This text file could be based on an export of values from another report which can incorporate your criteria.

to see the format of the text file, create a short list in the window manually and save it as a text file. Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top