www.icetips.com  Icetips Utilities Documentation

Overview

Previous  Top  Next  


 

 

ITExportClass            Class(ITUtilityClass),TYPE,Module('ITExportClass.clw'),Link('ITExportClass',_ITUtilLinkMode_),DLL(_ITUtilDllMode_)

 

FileRecord                 &GROUP

ExportedFile               &File

ExportedView               &View

ExportFile                 String(IT_MAX_Path)

AllFields                  &FieldQueueType

ExpFields                  &FieldQueueType

NumberOfFields             Long

Initialized                Byte

ExportReady                Byte

RecordsExported            Long

QuoteCharacter             String(1),PRIVATE

DelimiterCharacter         String(1),PRIVATE

 

Init                       Procedure(FILE pFile)

Init                       Procedure(VIEW pView)

Init                       Procedure,PRIVATE 

GetNumberOfFields          Procedure(FILE pFile),LONG

LoadFileFields             Procedure(FILE pFile),LONG,PROC

LoadViewFields             Procedure(),LONG,PROC

AddExportField             Procedure(STRING pFieldName, <STRING pHeaderName>, <BYTE pQuote>, <BYTE pIsVar>, <BYTE pVarIsNum>),BYTE,PROC

SetQuoteCharacter          Procedure(STRING pQuoteChar)

SetDelimiter               Procedure(STRING pDelimiter)

GetQuoteCharacter          Procedure(),STRING

GetDelimiter               Procedure(),STRING

StartExport                Procedure(STRING pExportFile, Byte pWriteHeaders=True, Byte pQuoteHeaders=True)

WriteHeaders               Procedure(BYTE pQuote=True, <STRING pDelimiter>, <STRING pQuoteWith>),BYTE,PROC 

                                     ! Returns true if successful, false if it failed.

ExportRecord               Procedure(),BYTE,PROC  ! Returns true if successful, false if it failed.

WriteLine                  Procedure(String pLine),BYTE,PROC ! Writes an unformatted line to the file

EndExport                  Procedure(),LONG,PROC  ! Returns number of records exported successfully.

ParseHeaderNameFromField   Procedure(STRING pFieldName),STRING

Kill                       Procedure()

                        End

 



Direct link to this page: http://www.icetips.com/manuals/utilities/overview_export.htm