Wordmanagement and merge fields

muratkarabek
muratkarabek Member Posts: 18
Hi,

As other users said, i added new codes into the functions (CreateHeader, ShowMergeDocument, ExecuteMerge) to merge my new fields with Word Document. Everything is ok until i see that, in Word's "Insert Merge Fields" list, there are only first 63 fields listed. But I hope to see my 90 fields (my owns and the originals) in this list. Is there a restriction for field count? And how to solve this problem?

Thanks.

Murat

Comments

  • medost
    medost Member Posts: 10
    Dear Murat,
    unfortunaly there is a limitation in the current Word. The merge function is limited to 64 data - fields. ](*,) The limit can only be raised by bill, because it is a word problem.

    A few weeks ago I had the same request like you. MS confirm the limit to me.

    Maybe you can comment out some fields not needed in oder to get your own fields to Word. :-k

    kind regards,
    Dominik
  • muratkarabek
    muratkarabek Member Posts: 18
    Hi Dominik,

    Thanks for your answer. It's absolutely I guessed. Now, i'm trying to comment some unnecessary fields but it is hard to decide (90-64 = 26 :wink: )

    Murat
  • amang
    amang Member Posts: 14
    Hi,

    i´m also confronted with the problem, that i have more than 63 fields.
    The problem is, i have several .doc files and each file has 1 - 15 fields. I want to merge all these files to one file. And then i have too many fields.

    Is there any other way to solve this problem, beside to comment out some fields already used? :-s

    kind regards,
    Andreas
  • stephanbax
    stephanbax Member Posts: 1
    I doubt the answer of Dominic. Although, I have the same problem I can use Word to import more fields from for e.g. Excel. So to me, Word doesn't seem the problem.

    --To be continued--
  • ovicash
    ovicash Member Posts: 141
    please help

    I haven't worked at all in this area.

    I want to add fields from the Oportunities table. I've created 2 new "Add Fileds" in the "WordManagement" CU, but how do I initialize those fields to get data filtered by Contact No (how it is normal)?

    I haven't seen anything regarding this for the other fields the that CU :(:(

    thx

    (edit)
    ovidiu

    Best Regards
  • Waldo
    Waldo Member Posts: 3,412
    May be it is possible to replace multiple fields by one field, and use the "NewMultiField"-possibility when merging. this only helps in certain cases (when you can print the fields below each other).

    Here is a thread I just posted a tip on, which might help you with it:
    http://www.mibuso.com/forum/viewtopic.php?t=16873&highlight=

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Waldo
    Waldo Member Posts: 3,412
    ovicash wrote:
    please help

    I haven't worked at all in this area.

    I want to add fields from the Oportunities table. I've created 2 new "Add Fileds" in the "WordManagement" CU, but how do I initialize those fields to get data filtered by Contact No (how it is normal)?

    I haven't seen anything regarding this for the other fields the that CU :(:(

    thx

    (edit)

    In ExecuteMerge you should fill you date. There you can initialize a local variable (Opportunities?) and filter by Contact No. . Also see the URL in my previous post.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog