PDA

Click to See Complete Forum and Search --> : ADODB and word


Andy Collyer
Jan 5th, 2000, 10:12 PM
Happy new year all!

I have a bunch of fields of a database bound to textbox controls on my form and a richtextbox control, bound to a different table, that holds a template of a letter - including some extra fields inserted (more on that in a sec). On some user click, I want to send this template, filled in with stuff from what record is currently selected, to Word for printing.
How? I am presuming it's going to be an OLE control but I'm very unsure, having tried it, how I should be doing it.
I thought there were some tips but I can't find any that still exist!
Mucho mucho gratitude to anyone who can point me in the right direction :)

Thanks again,

AndyC

------------------
* * * * * * * * * * * * * * * * * * * * * *
AndyC
London
email: andy.collyer@bigfoot.com
* * * * * * * * * * * * * * * * * * * * * *

Clunietp
Jan 6th, 2000, 01:13 AM
I'm sure what you're talking about is very possible, but it might be easier to create a MS Access report, set the recordsource to your record at runtime, and print out the report from there.