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!

Parameter that will accept multiple values (delimited by semi-colon)

Status
Not open for further replies.

gk17

Technical User
Sep 6, 2013
86
US
Hi,

I want to have a parameter that will accept multiple values entered by a user separated by semi-colons. Currently, I'm using the following selection formula for sites:

Code:
({?sites}='' or ','+{table.sites}+',' in ','+Replace({?sites}," ","")+',')

That works out well but now I want to do something similar with names which will be in lastname, firstname format. The comma will throw this off. What needs to be changed to accommodate semi-colons instead? I tried doing the following which didn't work out:

Code:
({?names}='' or ';'+{table.names}+';' in ';'+Replace({?names}," ","")+';')

Thanks.
 
Thanks for the reply Peter. I was able to get this resolved by removing the replace function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top