Replacing "1" with "ONE" Seguir

0
Avatar
Donna Mcclintock

I'm working on a label which contains a QUANTITY field....if the quantity field is equal to "1", I want to print out "ONE" - for all other numbers, I just want to print out the number...is there a way to do that?

 

Thanks,

D

2 comentarios

0
Avatar
Jasper Wen
Moderador
Acciones de comentarios Permalink

You may consider using the search and replace transform in BarTender and object properties.

  • Right click on the object that is being used and go to properties.
  • Select the data source being used.
  • Go to the transforms tab.
  • Click on the properties button for "search and replace".
  • Add a search and replace action using the left pane where you search for "1", set the syntax for literal, and replace it with "one".
0
Avatar
Donna Mcclintock
Acciones de comentarios Permalink

Hi Jasper,

Thanks.  I actually tried that but I the problem was that if the QTY was "11", I would get "ONEONE"

Any other ideas?

D

Iniciar sesión para dejar un comentario.