Works 2000: Database Field with COUNT() Function Returns 1 When Used As Mail Merge Field (239187)
The information in this article applies to:
- Microsoft Works 2000
- 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:
- Create a new database that contains the same field names as the
original database, but do not type any formulas in the fields.
- Open the original database, and then select all of the cells that you
want to use in the merged document.
- On the Edit menu, click Copy.
- Switch to the new database.
- Move the insertion point to the first cell into which you want to
paste your data.
- 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.
- On the File menu, click Save.
- Type a name for the new database, and then click Save.
- Open the Works Word Processor document or Word document that contains
the mail merge fields from the original database.
- On the Tools menu, point to Mail Merge, and then click
Open Data Source.
- Click Yes.
- Click Merge information from another type of
file.
- Click the new database that you created in steps 1 through 7, and
then click Open.
- 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.
STATUSMicrosoft 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.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbbug kbpending KB239187 |
---|
|