Microsoft KB Archive/239187

= Works 2000: Database Field with COUNT Function Returns 1 When Used As Mail Merge Field =

Article ID: 239187

Article Last Modified on 1/25/2007

-

APPLIES TO


 * Microsoft Works 2000 Standard Edition
 * Microsoft Works Suite 2000

-



This article was previously published under Q239187



SYMPTOMS
When you use a database created in Microsoft Works 2000 or Microsoft Works 6 as a mail merge data source for Microsoft Word, Works Word Processor, or Microsoft Publisher 99, any field that contains the COUNT function is displayed or printed as "1" in the mail merge document, regardless of the number contained in the actual database.



CAUSE
This issue occurs when you use the COUNT function in the formula of a database field, and you include that field in the mail merge document.



RESOLUTION
To work around this issue:
 * 1) Create a new database that contains the same field names as the original database, but do not type any formulas in the fields.
 * 2) Open the original database, and then select all of the cells that you want to use in the merged document.
 * 3) On the Edit menu, click Copy.
 * 4) Switch to the new database.
 * 5) Move the insertion point to the first cell into which you want to paste your data.
 * 6) On the Edit menu, click Paste.

NOTE: If want to move a large amount of data, you may need to repeat 2 through 6 to copy and paste all of the data from the original database to the new database.
 * 1) On the File menu, click Save.
 * 2) Type a name for the new database, and then click Save.
 * 3) Open the Works Word Processor document or Word document that contains the mail merge fields from the original database.
 * 4) On the Tools menu, point to Mail Merge, and then click Open Data Source.
 * 5) Click Yes.
 * 6) Click Merge information from another type of file.
 * 7) Click the new database that you created in steps 1 through 7, and then click Open.
 * 8) Click View Results.

NOTE: Do not insert any new fields into the document.

The data in the merged document should now be correct.

NOTE: This procedure is specific to Works Word Processor, but the steps are similar for Word and Publisher.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The COUNT function tallies the total number of cells in a range of cells that contain any kind of data.

Additional query words: kbwwaddin w_works works2K works6 w2001

Keywords: kbbug kbpending KB239187

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.