Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am using a MS Access 2003 Query and merging into a MS Word 2003 document. I
am having trouble with three of the dozens of calculated fields I am merging. In Access the value in the first caclulated field is 450 (Correct). In the merged document it is -125. In access, I checked the data sheet, and the form. Both have 450. I exported it to excel and the excel field alos shows 450. I created a new field with the same calulation in Access (Expr1) I get the same results when I added that field to the Word Document. I finally entered a calculation into the Word document and that provides the correct number (450) but I really prefer to do all the calculations only in the Access Query. Any ideas what I am doing wrong? -- Marge |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
What is the calculation in the Query (copy and paste the SQL into a message)
-- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Marge" wrote in message ... I am using a MS Access 2003 Query and merging into a MS Word 2003 document. I am having trouble with three of the dozens of calculated fields I am merging. In Access the value in the first caclulated field is 450 (Correct). In the merged document it is -125. In access, I checked the data sheet, and the form. Both have 450. I exported it to excel and the excel field alos shows 450. I created a new field with the same calulation in Access (Expr1) I get the same results when I added that field to the Word Document. I finally entered a calculation into the Word document and that provides the correct number (450) but I really prefer to do all the calculations only in the Access Query. Any ideas what I am doing wrong? -- Marge |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I still do not know what went wrong, but I did get it working. I started a
brand new document, selecting DDE, and copied the old document into the new one. Then I reinserted the 3 mergefields that were not displaying the correct numbers. (I also left the old ones just for comparison purposes. The mergefields I newly inserted displayed the correct numbers, while the same fields I copied from the old document did not. Here is the calculation for one of the fields copied from the Build statement: Simple. Incentive Last Month Rent Deposit: [Standard Last Month Rent]-[Actual Last Month Rent] -- Tank you for your reply! Marge "Doug Robbins - Word MVP" wrote: What is the calculation in the Query (copy and paste the SQL into a message) -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Marge" wrote in message ... I am using a MS Access 2003 Query and merging into a MS Word 2003 document. I am having trouble with three of the dozens of calculated fields I am merging. In Access the value in the first caclulated field is 450 (Correct). In the merged document it is -125. In access, I checked the data sheet, and the form. Both have 450. I exported it to excel and the excel field alos shows 450. I created a new field with the same calulation in Access (Expr1) I get the same results when I added that field to the Word Document. I finally entered a calculation into the Word document and that provides the correct number (450) but I really prefer to do all the calculations only in the Access Query. Any ideas what I am doing wrong? -- Marge |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I think that you are likely to get problems with field names that include
spaces - Incentive Last Month Rent Deposit -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Marge" wrote in message ... I still do not know what went wrong, but I did get it working. I started a brand new document, selecting DDE, and copied the old document into the new one. Then I reinserted the 3 mergefields that were not displaying the correct numbers. (I also left the old ones just for comparison purposes. The mergefields I newly inserted displayed the correct numbers, while the same fields I copied from the old document did not. Here is the calculation for one of the fields copied from the Build statement: Simple. Incentive Last Month Rent Deposit: [Standard Last Month Rent]-[Actual Last Month Rent] -- Tank you for your reply! Marge "Doug Robbins - Word MVP" wrote: What is the calculation in the Query (copy and paste the SQL into a message) -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Marge" wrote in message ... I am using a MS Access 2003 Query and merging into a MS Word 2003 document. I am having trouble with three of the dozens of calculated fields I am merging. In Access the value in the first caclulated field is 450 (Correct). In the merged document it is -125. In access, I checked the data sheet, and the form. Both have 450. I exported it to excel and the excel field alos shows 450. I created a new field with the same calulation in Access (Expr1) I get the same results when I added that field to the Word Document. I finally entered a calculation into the Word document and that provides the correct number (450) but I really prefer to do all the calculations only in the Access Query. Any ideas what I am doing wrong? -- Marge |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word should catalog misspelled words to study. | Microsoft Word Help | |||
take yet another lesson from wordperfect "reveal codes" | Microsoft Word Help | |||
WP merge file to Word | Tables | |||
How can Word display full path of a file in the title bar? | Microsoft Word Help | |||
Word Mailmerge with Access via DDE | Mailmerge |