Hello Tango lovers,
I normally give thanks in private but I hope I can spare others the many, many
hours to discover that the column datatype used to store the generated pdf file
must be varbit. I was using varchar since pdf file is suppose to be an ASCII
file. A pdf file is ascii but it contains non text characters, not accepted by
varchar datatype. I change the column datatype to varbit and it works great.
This is an automated Tango/RBase system that uses RBase Reports by upon request
by a user, generated a print-to-pdf file that is stored in a VARBIT column used
by tango to stream the pdf report to the user. The beauty of this is that you
can use all the power of the RBase Report Designer on the server to generate all
your requested reports. No need of Crystal Reports. You only need a pdf
printer driver on your Tango/Rbase system.
Manuel
pdbordine wrote:
> Manuel,
>
> This is exactly how we present confidential reports to our clients. The PDF
> is stored in a VARCHAR column, and dynamically delivered to the client
> without writing a file to the server drive. The technique prohibits
> bookmarking of a location, and insures that the user is properly
> authenticated.............................................
Troy Sosamon wrote:
> Manuel,
>
> This is the script that opens the window w/ the pdf in it.
> I changed some of the < to [ so it won't execute on you
>
> [SCRIPT>
> function PopUpWindow(docid)
> {........................................................
"A. Razzak Memon" wrote:
> Manuel,
>
> Just remember, NOTHING is impossible!
>
> What can be imagined, can be achieved. You must dare
> to dream, but there is no substitute for perseverance,
> hard work, and team work. Because no one gets there
> alone.
>
> OK, let me answer your questions ..... probably the
> best time to answer,
> 3:15AM!.........................................................
begin:vcard
n:de Aguiar;Manuel
tel;fax:(323)661-7698
tel;work:(323)660-3511
x-mozilla-html:FALSE
url:http://www.mdenterprises.net
org:M|D Enterprises
adr:;;2412 No. Commonwealth Avenue;Los Angeles;California;90027-1206;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Developer
note;quoted-printable:The information contained in this e-mail may be privileged, confidential,=0D=0Aand protected from disclosure. If you are not the intended recipient, you=0D=0Aare hereby notified that any dissemination, distribution or duplication of=0D=0Athis communication is strictly prohibited. If you have received this=0D=0Acommunication in error, please notify the sender immediately and delete all=0D=0Acopies.=0D=0A=0D=0Ahttp://www.mdenterprises.net=0D=0Ahttp:/www.databasedeveloper.com=0D=0Ahttp://www.MdrBASE.com=0D=0A
x-mozilla-cpt:;-1
end:vcard