Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to export - what are format types?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01265767
Message ID:
01265786
Vues:
11
LOCAL oCR AS CRAXDRT.Application
LOCAL oRpt AS CRAXDRT.Report
LOCAL oExp AS CRAXDRT.ExportOptions
oCR = CREATEOBJECT(“CrystalRuntime.Application”)
oRpt = oCR.OpenReport(“C:\Temp\Taz.RPT”)
oExp = oRpt.ExportOptions()
oExp.DestinationType = 1 && crEDTDiskFile

oExp.FormatType = 27 && Excel <---- THIS ----------

oExp.DiskFileName = "C:\Temp\Taz.XLS"
oRpt.Export(.F.)



>Export what?
>How?
>
>
>
>>Does anyone know what the codes are for the formattype?
>>
>>I know these:
>>1 = Crystal Reports
>>27 = Excel (but not sure if this is the data only one)..
>>
>>I kinda wanna know what they are for these:
>>
>>Adobe Format (PDF)
>>Crystal Reports (RPT)
>>HTML 3.2
>>HTML 4.0
>>MS® Excel 97-2000
>>MS® Excel 97-2000 (Data only)
>>MS® Word
>>ODBC
>>Record style (columns no spaces)
>>Record style (columns with spaces)
>>Report Definition
>>Rich Text Format
>>Separated Values (CSV)
>>Tab-separated text
>>Text
>>XML
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform