trichview.support.examples
Re: Loading CSV as table |
Author |
Message |
Sergey Tkachenko |
Posted: 11/02/2003 14:16:35 The code must be: var table: TRVTableItemInfo; begin table := LoadCSV(FileName, RichViewEdit1, ';', False, 0, 0); if table<>nil then begin // here you can set table properties, // such as borders RichViewEdit1.InsertItem('', table); end; end; > > I tried this function, but nothing is loaded: > > if (loadcsv(filename, richviewedit1,';',false,0,0) = nil) then > showmessage('error'); > richviewedit1.Format; > > The csv file is a simple one with ; as separator. The return value is not > nil either. > > Any ideas? > > Thanks, Emil > > "Sergey Tkachenko" <svt@trichview.com> schreef in bericht > news:3ea83827@support.torry.net... > > This unit contains function for loading CSV files (files with comma or > > semicolon delimited values) or files with tab delimited values. > > > > http://www.trichview.com/support/files/rvcsv.zip > > > > > > > > > > > > > > |
Powered by ABC Amber Outlook Express Converter