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

Adding a command to a String 1

Status
Not open for further replies.

OldLoady

Technical User
Jun 29, 2005
5
US
In CR we are defining a BarCode label for Pathology Slides. When we scan in the barcode the cursor does not tab to the next field. I am sure that at the end of the string I need to enter a command for the "Tab"
Here is our string,

if {stpr_slide_label.encoded_material_id} <> "" then
"*" +{stpr_slide_label.encoded_material_id}+"*"

If any one can tell me how to put the "Tab" command at the end of this string or even if it can be done it would be a great help. I know that the ASCII code for tab can be one of the following <1009> or <009> or <$I>. is there a way to add this to the end of the string. if I enter it in this format it gives me an error "a number, currency amoutn, boolean, date,time, adte-time, or string is expected here"

If any one can help I'm almost out of hair to pull out

Thanks
Mac
 
Try:

if {stpr_slide_label.encoded_material_id} <> "" then
"*" +{stpr_slide_label.encoded_material_id}+"*"+chr(9)

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top