Simple HTML Code
Jerry Crespi
jcrespi at alliedhr.com
Fri Feb 15 10:00:10 PST 2013
Hi,
I thought this may be useful to other filepro programmers.
One of my clients needed to have his invoices
sent via email. I set up a form with the invoice
on it, and added headers to the top of the form so it became an email.
This meant saving each form as a file ending with
.msg and I sent it to a directory monitored by an
SMTP program. Once the file was there the smtp
program simply sent the file as email.
Because the client then made changes such as
links to UPS and FEDEX tracking numbers in the
invoice, I needed to make html an integral part
of the form. I found an easy method
to embed html tags in the form without processing. Here is what I did:
1. Copy the "nocodes" print table to another name, such as "htmltags"
2. After line 55, add literal html tags. Be sure
to say what the tag does in the description column. Here is an example:
57 ¦ <body> ¦ * start body ¦
58 ¦ </body> ¦ * end body
59 | <br> | * line break
3. Add as many start and end tags as you may need.
4. Then go to ANY form and simply press F5 to add
the needed print code wherever your design calls
for it. No processing, no dummy fields, etc. It
puts it exactly where you need it.
The table is always handy and can be used
over and over, without messing up any of your processing tables.
Your form will now have the html tags embedded
into it. When viewed by a browser or email
client, the tags do not show, but instead are completely functional html.
I hope this helps .
Jerry
Jerry Crespi, Ph.D.
President
Allied Business Systems Inc.
V. (714) 963-5554
F. (714) 964-0061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20130215/2172f63e/attachment.html
More information about the Filepro-list
mailing list