Quote:Hello Scott,
I see what you are seeing here. I think it has to do with a problem in an underlying library and the @ symbol. I'll pass it on to development.
It's funny, but before I started using the function, I was hard coding @replace() statements into my Invoice printout, using a variable. I.E.:
Var vNewString as String
// Prints the job description
vNewString = @Replace(Desc_line_1, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 15), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_2, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 35), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_3, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 55), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_4, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 75), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_5, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 95), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_6, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 115), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_7, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 135), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_8, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 155), 0, vFont, vSize, 0)
vNewString = @Replace(Desc_line_9, "@", "@@")
PrintString(vNewString, 20, (vPosY1 + 175), 0, vFont, vSize, 0)
And this was working (and is still working) for every line on my Invoice
except the top portion, where I print the Company Name, Address, Contact, P.O. Number, etc. When I tried it in in my Workorders, it worked for all the details of the Delivery customer, but none of the Pickup customer, which is strange because it's
exactly the same data coming from different but identical elements. The problem seems to be randomly, eccentrically selective.
As it stands now, I'm using the function to replace "@" with "at" everywhere on my Workorder, and on the top section of my Invoice. The bottom section of my Invoice has the hard coding you see above (replacing "@" with "@@") and is happily printing the @ symbol on every line that shows a "description @ rate" string. It's perverse, but it's working.
Let me know if you'd like to see the code, maybe it will help with your investigation.