R
rogge
How do I referecnce a docment stored in an OLE field?
I want to have a user click "Print to word" which creates a word document
based on a template stored in a table. Since the user may not have a network
connection and i want the Access application to be 'self contained' (nothing
but the *.mdb file), the template must be stored in a table.
I can add to and delete from the OLE field using VB; however, opening a
document does not seem to happen:
Set obj = rds.Fields("oleTemplate").Value
Set docWord = appWord.Documents.Add(obj)
The Add method is looking for path\file.name convetion, and not an object.
I saw how to use form based control, but i do not think this will allow me to
open word etc...
Thank you for your help...
I want to have a user click "Print to word" which creates a word document
based on a template stored in a table. Since the user may not have a network
connection and i want the Access application to be 'self contained' (nothing
but the *.mdb file), the template must be stored in a table.
I can add to and delete from the OLE field using VB; however, opening a
document does not seem to happen:
Set obj = rds.Fields("oleTemplate").Value
Set docWord = appWord.Documents.Add(obj)
The Add method is looking for path\file.name convetion, and not an object.
I saw how to use form based control, but i do not think this will allow me to
open word etc...
Thank you for your help...