In our Invoice program, there is a field to enter a customer's email address. This is stored in the database, but does not print on the paper copy of the invoices. Our secretary wants it on the paper copy of the invoices for her warranty work.
vEmail = @STR(EMAIL) PrintString("EMAIL:"+ vEMAIL, 65, 300, 0, "BArial", 14, 0) PrintString("DEL INFO:"+ COMMENT, 380, 300, 0, "BArial", 14, 0)
I thought this would be simple just printing the field, but it only printed the information before the "@" sign.
Email information on form = yourname@gmail.com
Printed Result : yourname
The field is a TEXT field and I try to use Var vEmail as String, but it did the same thing. Is there something else I have to do?
I try a few work arounds.
I made one string for the left (vL) of the "@" sign and another for the right (vR).
I then tried.
PrintString("EMAIL:"+ vL + "@" + vR, 65, 300, 0, "BArial", 14, 0)
and
PrintString("EMAIL:"+ vL + @CHR(65) + vR, 65, 300, 0, "BArial", 14, 0).
Both had the same result, the "@" and anything after it did not print.
The only way it could work is using the command below.
PrintString("EMAIL:"+ vL + "(a)" + vR, 65, 300, 0, "BArial", 14, 0)
|