Results 1 to 2 of 2
  1. #1
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591

    Exporting query to .rtf format for word mail merge

    I am trying to do something that shoud be very simple, exporting a paramaterized query in Rich Text Format to be used in a mail merge. It took me some time to figure out to use OutputTo instead of TransferText, but now I see my output file is basically garbage. It looks something like this.

    # , # # 0 . 0 0 \ ) ; _ ( * " - " ? ? _ ) ; _ ( @ _ ) + d d d d , m m m m d d , y y y y à õÿ À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à õÿ ô À à À à + õÿ ø À à ) õÿ ø À à , õÿ ø À à * õÿ ø À à õÿ ø À à ! P à " x à " x à ( x à + x à + | “ €ÿ“ €ÿ“ €ÿ“ €ÿ“ € ÿ“ €ÿ… @ m q r y _ F B I _ V S P _ n o n _ C l a s s _ b y _ O r g


    ùÍÁ€ ÍH € } F } V } } M: } } } } } } }

    } } }

    } } } } } ém , @ , @ , @ , @ , @ , @ , @ , @ , @ , @
    , @ , @ , @
    , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ , @ S a l #
    C o n t a c t F n a m e 1 #
    C o n t a c t L n a m e 1 + O r g a n i z a t i o n _ N a m e O r g N u m A d d r e s s 1 A d d r e s s 2 C i t y S t a t e
    P o s t a l C o d e
    C o n t a c t I D /
    Whereas if I manually export it using the export wizard the file exports just fine and merges perfectly with my Word document.

    What I'm looking for is a simple solution to this export. I need to automate about 40 of them. If I can get one down pat, I will duplicate this for all my other queries. I've gone down a lot of dead ends. I just want something that works. Listing all the the error messages I've encountered and solutions I've tried would just muddy things up. I'll try your solutions as I get them.

  2. #2
    Paul H's Avatar
    Paul H is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Location
    Richmond, VA
    Posts
    591
    Another false alarm, I hope. I spotted a coding error that fixed the problem. Took me a half a day, but it's working for now. Next time I'm taking a long walk in the park and see if that works and better.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access to Word mail merge - data format
    By Lex_iuk in forum Import/Export Data
    Replies: 6
    Last Post: 06-24-2015, 06:49 AM
  2. Currency formats lost between Query and Word in Mail Merge
    By Monterey_Manzer in forum Import/Export Data
    Replies: 2
    Last Post: 07-17-2012, 02:43 PM
  3. Mail merge with word
    By alexc333 in forum Access
    Replies: 0
    Last Post: 07-26-2011, 12:06 PM
  4. Mail merge from from Access to Word
    By williamgladstone in forum Access
    Replies: 1
    Last Post: 03-22-2011, 12:00 PM
  5. Access Query mail merge to Word
    By Jan Collier in forum Access
    Replies: 8
    Last Post: 08-30-2010, 09:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums