Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Report
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Divers
Thread ID:
00313075
Message ID:
00313140
Vues:
35
Winarto,

The most reliable way to export reports in TXT (or HTML) is to use the Data Report built into VB6 now (since it doesn't require a OCX). Then use the code

MyReport.ExportReport rptKeyText, cFileName, True, False, rptRangeAllPages

Or for HTML:
MyReport.ExportReport rptKeyHTML, cFileName, True, False, rptRangeAllPages

The data report is relatively simple to use and displays and works like a
form.

HTH,
Ed

>I have a Programe in VB that prints a report to file using common dialog (ShowPrinter method), when i open the file with notepad, i can't read the file ? Why ? How can i suppose to do if i want the report in the file is readable just like i print the report to printer ? Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform