Automation issue

  • Thread starter Thread starter GR
  • Start date Start date
G

GR

Hi,
How can I send a query which has no criteria defined on it
to Word, but then filtering or apply criteria based on
data bookmarked in the word document?

Example. Word Document
Report for: Alexander Graham Bell
Service Taken On: 01/01/2003
Equipment Info
Type Model Desc
A 1.234A Description A
B 1.234B Description B
C 1.234C Description C

So I have a Query with al the Equipment Info for many
reports how can I Query on word, get data or whatever in
order to get only the equipment info for Alexander Graham
Bell Report?
My query in Access has no criteria because I'm using it
for multiple things, e.g. reports, forms, etc. Then in
Word I get all the data and this is not desirable.

Thx.
 
I don't know if this MSDN article will help or not, but it does provide an example of
reading data from a Word document.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnimo01/html/imo1200.asp


I have a copy of the Word document and .mdb file that was originally available with this
article. Send me a private e-mail message if you'd like me to send this to you.

Tom

AOS168 AT Comcast DOT Net
___________________________________________


Hi,
How can I send a query which has no criteria defined on it
to Word, but then filtering or apply criteria based on
data bookmarked in the word document?

Example. Word Document
Report for: Alexander Graham Bell
Service Taken On: 01/01/2003
Equipment Info
Type Model Desc
A 1.234A Description A
B 1.234B Description B
C 1.234C Description C

So I have a Query with al the Equipment Info for many
reports how can I Query on word, get data or whatever in
order to get only the equipment info for Alexander Graham
Bell Report?
My query in Access has no criteria because I'm using it
for multiple things, e.g. reports, forms, etc. Then in
Word I get all the data and this is not desirable.

Thx.
 
Back
Top