Results 1 to 10 of 10
  1. #1
    2 Star Lounger
    Join Date
    Jul 2003
    Location
    Park City, Utah
    Posts
    189
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Merge to a Table (Word XP)

    I'm trying to merge data into a table. How do I get it to insert a new row instead of a hard page break?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Merge to a Table (Word XP)

    Perhaps set it up as a "Catalog" or "Labels"? This is just a guess as I'm not sure I've ever done this.

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Merge to a Table (Word XP)

    Catalog will do it. If you insert mergefields into a 1 row table, you'll end up with each record in a separate row. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  4. #4
    Lounger
    Join Date
    Sep 2002
    Location
    Toronto, Ontario, Canada
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Merge to a Table (Word XP)

    I found this post while learning more about merge. I tried the Catalog feature and created a 1 row table with the merge codes. The result was a new table for each record, instead of a new row. Is there a way to change this? Diana

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Merge to a Table (Word XP)

    Hi Diana:
    You mean that your getting multiple 1 row tables on the same page? This shouldn't happen with a catalog as the main document. Perhaps there is some corruption. Could you attach a copy of your main document? I can change the data source & take a look at it (although I only have Word 2000 to work with).

  6. #6
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,623
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Merge to a Table (Word XP)

    Hi Diana,
    I think the only way with merges to achieve what you are trying to do is to create the table in advance, and then put a { Next Record } field in each cell. That's the way labels are done, and they are basically a table with merge fields in the cells. The other way to do what you want is to use Automation to do what you want - with it you can actually add new cells as necessary, just as if you were running VBA in Word (assuming that you initiate the merge from Excel, Outlook or Access). It's a fair bit more work and involves lots of VBA, but can be quicker than a merge if you are doing lots of records. Out of curiosity, what is your data source?
    Wendell

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Merge to a Table (Word XP)

    Hi Wendell:
    I don't have Word 2002 & I know that merges have changed in that the default method is no longer DDE. However, I wasn't under the impression that the catalog feature has changed. I've done numerous catalog merges in Word 2000 with one row tables containing merge fields. It always produces a a merged document containing a single table with numerous rows (provided that the single row table is the only thing in the main document). Has this behavior now changed with Word 2002?

  8. #8
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Merge to a Table (Word XP)

    Although it is called Directory in Word 2002 instead of Catalog, it still works as in previous versions: if you start with a single row table, you get a single table with as many rows as there are records in the data source, provided there is only the final paragraph mark (that cannot be deleted) below the single row table. If there are more paragraph marks below the table, they will be copied into the result; this could well be the cause of Diana's problem.
    Attached Images Attached Images
    • File Type: png x.PNG (2.4 KB, 0 views)

  9. #9
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,623
    Thanks
    3
    Thanked 60 Times in 60 Posts

    Re: Merge to a Table (Word XP)

    I learn something every day - Hans has solved the dilema that was causing my trouble with the merge to a table as well. I guess because I don't like most of the changes that were made to the merge feature in 2002, I automatically assume they broke something when I try something and it doesn't work. <img src=/S/stupidme.gif border=0 alt=stupidme width=30 height=30> I shall have to play with the merge feature some more as I'm currently having a real fight with Outlook as a data source.
    Wendell

  10. #10
    Lounger
    Join Date
    Sep 2002
    Location
    Toronto, Ontario, Canada
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Merge to a Table (Word XP)

    Since you and Phil both asked about my data source, I realized that it could have been the problem. The data source is a text file. So here's what I did. I created a new merge form using the Mail Merge Wizard and also used the wizard to create my data source. I got the correct result - one table with entries on a new row. I then opened my document and 're-mapped' the data to be the text file - and it works okay too! Thanks for your help! Diana

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •