WinSPC Knowledgebase Home | Glossary | Favorites | Contact | Login WinSPC Knowledgebase Home | Glossary | Favorites | Contact | Login
Search the WinSPC Knowledgebase Browse by Category
In Report Designer, what is the difference between using '+' and '&'?
Article Details

Last Updated
11th of May, 2017

Applies to
WinSPC 8.0, WinSPC 8.1, WinSPC 8.2, WinSPC 8.3, WinSPC 9.0

Both '+' and '&' can be used in WinSPC's Report Designer, introduced in WinSPC 8.0, for string concatenation.  Both allow the user to combine two strings together to form one output string, with a minor difference.  The '+' concatenates the strings as is, while the '&' adds a space between the two original strings.

For example, this:
'PART' + 'VARIABLE'
would produce:
PARTVARIABLE

While this:
'PART' & 'VARIABLE'
would produce:
PART VARIABLE

String concatenation can be used in the 'Data Field' property of a 'DataText' component.  As an example in a standard WinSPC installation, see the 'Production Summary Report' report template (in the 'Legacy WinSPC Reports' report template folder).

RAVE_ConcatExample.jpg
Attachments
No attachments were found.
Related Articles
Visitor Comments
No visitor comments posted. Post a comment
Post Comment for "In Report Designer, what is the difference between using '+' and '&'?"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Your Name:
   Email Address:
* Your Comment:
* Enter the code below:
 

All Content ©2010-2021 DataNet Quality Systems. All Rights Reserved.