Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to export - what are format types?
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01265767
Message ID:
01265786
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform