470,596 Members | 1,200 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,596 developers. It's quick & easy.

obtaining automation error from Word

I'm learning automation basics here with a Access-Word mail merge.
Specifically I want to obtain a reference to the Word error object....using
Access as an automation client. Is this possible? I've looked over the
Word object model provided in the excellent "access 97 developer's handbook"
and did not find any treatment of this.

I have used Access as a front end to an Oracle database and have been able
to write code to handle ODBC errors vs. the VBA errors from the err object
(they are not always the same). I want to be able to do the same thing with
automation servers.

Anyone doing this and can i see a code sample?


kent eilers
Nov 12 '05 #1
1 2577
thanks Albert -- but i'm looking for the ability to get to the Word err
object ...not the VBA err object in Access.
"Albert D. Kallal" <ka****@msn.com> wrote in message
news:9A********************@news1.calgary.shaw.ca. ..
Hum, I do have a nice sample database with a working mail merge. The code is designed such that you just have to place one line of code behind a button, and your form is now word merge enabled (it sends just the one record you
are looking at to word). Since the code library works with all forms, then
it means that you don't have to hard code any fields in the merge process.

You might want to read my notes on how I obtained a reliable word merge.
However, I don't have a good word object reference for you.

Albert D. Kallal (MVP)
Edmonton, Alberta Canada

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by mickeydisn | last post: by
3 posts views Thread by Mike MacSween | last post: by
25 posts views Thread by Neil Ginsberg | last post: by
12 posts views Thread by Cheval | last post: by
2 posts views Thread by William LaMartin | last post: by
4 posts views Thread by Charles Law | last post: by
22 posts views Thread by liya.tansky | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.