Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5-Report to ascii text file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00310059
Message ID:
00310060
Vues:
18
>Hello All,
>
>How do you get the font to follow a report from vfp5 to Word 2000.
>
>I'm printing a report to a text file that can be opened in Word 2000 and then be massaged.
>
>My default in the vfp5 report writer is arial 8pt. normal.
>
>My default in Word 2000 is the same.
>
>When I do this, "repo form strpconsignorstatement to file tempreport ascii" and, then load "Word" and open the document I get a "File Conversion" box, where I select "Plain text".
>
>When the document opens it contains the font "Courier New" 10 pt.
>
>Why won't it keep my default fonts? Is there something I can add to the vfp5 command to carry the fonts to the text file?
>
>Thanks,
>
>Jim Harvey
>jharvey@netrax.net

No, there isn't any way to keep the font. When you write a file out via the REPORT...ASCII command, ALL information about fonts, graphics, etc. is stripped from the file. The Courier default must be coming from Word.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform