• Mailmerge – which source of data (97 )

    Author
    Topic
    #446788

    We have a number of documents that use mergefields from an Access database. Some of the mergefields are associated with tables, and some with queries. Unfortunately over the years we have lost track of which documents link to which tables and queries.

    Is there a reliable way of identifying the particular sources of data for each document?

    Viewing 0 reply threads
    Author
    Replies
    • #1087347

      You can do the following:
      – Open the merge document.
      – Activate the Visual Basic Editor.
      – Press Ctrl+G to activate the Immediate window.
      – Type ? ActiveDocument.MailMerge.DataSource.TableName and press Enter. (You can use QueryString instead of TableName)
      – You’ll see the SQL string used by the mail merge.

    Viewing 0 reply threads
    Reply To: Reply #1087347 in Mailmerge – which source of data (97 )

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

    Your information:




    Cancel