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:
01265808
Views:
14
>>>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.)
>>>
>>
>>O GOD!
>>I even didn't saw that you posted in Crystal Report section!
>>Sorry for stupid questions :-)
>>
>>You could open CRAXDRT.Report in Object Browser and check values for crEFTPortableDocFormat and others.
>>
>>#define crEFTWordForWindows 14 && Word for windows
>>#define crEFTExcel97 36 && Excel 97
>>#define crEFTPortableDocFormat 31 && PDF
>>
>>Searching for more :-)
>>
>>I hope Craig Berntson will jump here :-)
>
>I found all of them....
>
>Thanks!

Thank you!
Where?
I tried almost everything in Google to find a single value of that enumeration.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform