I’ve to use a Microsoft Access Database to create different bulk letters in Microsoft Office Word. This works just fine in most cases but it is somehow not possible to use a View (which is defined in Access) in Word as long as the source for data contains a column that is calculated by VBA code in the Access Database. Ah, and I need exactly this calculated value to put it into a Microsoft Office Word Field.
There is unfortunately no way to do this calculation in SQL so I need a solution how I can use those Views as the source in MS Word.
I found just one way yet: Export the View from Access into a Excel Worksheet and use this as the source in Word. As you can think this is very unusable :-(.
(We use Microsoft Office 2003)
Cheers,
Gregor
Try using an Access “Make Table” query. The resulting table will have all the values pre-calculated, and Word won’t have a problem reading it.
This is a lot like the suggestion to use a text file, but without the extra mess of making the user generate a text file.