The information in this article applies to:
SUMMARYDocuments developed with the Text Merge feature can use fields from two or more databases. The example below uses customer names and addresses from the FoxPro 2.x CUSTOMER.DBF sample database merged with form letters contained in memo fields from a second database (INVOICE.DBF). MORE INFORMATION
NOTE: This example only works using the FoxPro 2.x sample files.
The following program connects the information from the two databases. Work
area 1 includes the database (INVOICE) with memo fields that contain form
letters. Work area 2 includes a database (CUSTOMER) that contains names and
addresses that should receive the letter. The program will execute from
work area 2.
This example assumes that you have a customer database (CUSTOMER) with account status information and a database (INVOICE) with multiple form letters for different account statuses.
For more information about performing text merges, see the following
article in the Microsoft Knowledge Base:
Q97163 General Text Merge Functionality Additional query words: VFoxWin FoxDos FoxWin form 2.x mail text merge functionality
Keywords : FxprgMacrosub |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |