>Hello,
>
>Is it posseble to create a Word file form a report or a rtf file?
>I know export my report to asci, but some of the formatting is lost and, I always a margin of about 1cm on the left side.
>
>If this is possible how do I create something like that, with automation?
>I am a beginner in foxpro and would appriciate some help in the form of sample code.
>
>Greetings,
>
>Albert Hengeveld
There is no easy way to do this directly from VFP. You can use Automation to call Word and programatically create the document. Another option is to rewrite the report using Crystal Reports.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer