• HELP: mailmerge combining several records per page

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » HELP: mailmerge combining several records per page

    Author
    Topic
    #501714

    Hi guys.

    Im fairly new to building mailmerge with field codes, and I have come so far as to understand the syntax, however I just cannot get the code to work. Im assuming theres an error that I just cannot spot. Will really appreciate some help on this:

    I have a database with the following column headings:

    First names, Identity number, Preferred name, Surname, Title, Advisor, Advisor ID number, broker commission, advice type, contract number, product, provider (in that order)

    What I need is to use a few of these fields to draw up a record of advice for a client, with all off the clients different investments displaying on one letter (contract number), as well as which company it is invested with and the product type. I do not necessarily need the ID number to display but I am using that as key field. When i do the mailmerge it says :Error, invalid op code.

    Here is the code:

    (IF(MERGESEQ)=1″
    ADVICE RECORD
    GOAL OF CLIENT………………………….
    TYPE OF ADVICE: FOCUSSED
    ID NO: (MERGEFIELD “Identity_number”)

    Company Contract number Product
    ” “”) (SET ID1 (MERGEFIELD “Identity_number))
    (IF (ID1)(ID2)”

    Advice given will be based on a specific need…..
    ………..page break………..

    ADVICE RECORD
    GOAL OF CLIENT………………………….
    TYPE OF ADVICE: FOCUSSED
    ID NO: (MERGEFIELD “Identity_number”)

    Company Contract number Product
    (MERGEFIELD “Provider”) (MERGEFIELD “Contract_number”) (MERGEFIELD “Product”)” “(MERGEFIELD “Provider”) (MERGEFIELD “Contract_number”) (MERGEFIELD “Product”)”) (SET ID2 (MERGEFIELD “Identity number”))

    Would really appreciate some help if anyone can see my mistake. I can attach a sample if necessary.

    Thank you

    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: HELP: mailmerge combining several records per page

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: