Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Merge Fields Problems
Message
 
To
19/02/2004 17:55:44
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00856039
Message ID:
00931144
Views:
24
I Stacy

Thanks for your response.

From this time I worked on other projects.

I retry to merge with Word XP / 2003 and I have the same trouble (see my new question on 2004/08/05)

I change a little bit my way of coding (DFB datasource) but it does not work anyway even I have all the latest SP



>Hi Michel
>
>I am working with a similar problem today, trying to automate the opendatasource() command to link with an excel file. (office 2003)
>
>I am using VFP 8.0 SP1.
>
>Were you able to come up with the correct syntax to make this operate correctly?
>
>I am struggling a bit with this one myself...
>
>
>
>I didn't see any replies to your message, sorry to reply with a question.
>
>
>>In a VFP procedure, I merge a Word document with an Excel data source.
>>
>>In my Word document, I put some merge fields in the header and the footer.
>>
>>It works fine with VFP7/8 and Office XP.
>>
>>With Office 2003, the merge fileds in the header and the footer do not merge.
>>
>>In the final document, they look like the merge fields expressions (i.e. «CompanyName» instead of the name in the database).
>>
>>However when I open the Word document and I merge it manually with the same Excel data source, it works fine.
>>
>>the command line to open the Excel data source I used is :
>>OpenDataSource("C:\FOLDER\EXCELSOURCE.XLS", 1, .F., .F., .T., .F., "", "", .F., "", "", "", "SELECT * FROM `EXCELSOURCE$`", "")
>>
>>Thanks in advance for your help.
>>
>>Stéphan Laporte
>>slaporte@analystik.ca
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform