Sending Address Fields to a blank word document? How?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys. I'm in the process of creating a database for the company I work for. I want to be able to build a database of all our contacts - which is the easy bit. BUT I want to add a button which when clicked, sends the address of the currect selected company to a blank MS word documents. So how do I do it?? Thanks in advance.
 
DoCmd.OutputTo acOutputTable, "Employees", acFormatRTF, "Employee.rtf", True


Richard Horne said:
Hi guys. I'm in the process of creating a database for the company I work
for. I want to be able to build a database of all our contacts - which is
the easy bit. BUT I want to add a button which when clicked, sends the
address of the currect selected company to a blank MS word documents. So how
do I do it?? Thanks in advance.
 
you could use a query to generate the data, or use some code to generate a
temporary table containing the data you need.


Richard Horne said:
Thanks for your help, that slightly helps, but can you explain how I
control the output, as the command you gave outputted every single record in
that table, I only want to output the particular record that is selected. I
also want the fields outputted one line after the other, i.e. an address at
the top of a letter, and not in a table like the command does at present.
 
Back
Top