Search found 6 matches

by FinkenF
Wed Sep 18, 2013 10:26 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

Re: External table is not in the expected format

Hi,

any news on this issue?
by FinkenF
Thu Aug 29, 2013 9:39 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

Re: External table is not in the expected format

Just a plain and simple ADO connection var SampleDataset: TADODataset; begin SampleDataset := TADODataSet.Create(nil); SampleDataset.ConnectionString := Format('Provider=Microsoft.ACE.OLEDB.12.0;Data Source=%s;Extended Properties="Excel 12.0;HDR=No;IMEX=1;ImportMixedTypes=Text;FirstRowHasNames=...
by FinkenF
Mon Aug 26, 2013 7:55 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

Re: External table is not in the expected format

Any news on this issue?
by FinkenF
Wed Aug 14, 2013 11:54 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

Re: External table is not in the expected format

Hi Lars,

Yes, that works.
by FinkenF
Mon Aug 12, 2013 10:51 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

Re: External table is not in the expected format

Hi Lars, That also will give an error. Here is the code: function TInterfaceDefinition.CSV_To_XLS(const AFileName: String; const ADelimiter: Char): String; var FileContents: TStringList; i, j: Integer; LineContents: TStringList; XLS: TXLSReadWriteII5; begin Result := GetWindowsTempDir + GiveGuid(Tru...
by FinkenF
Fri Aug 09, 2013 9:57 am
Forum: XLSReadWritwII 6
Topic: External table is not in the expected format
Replies: 9
Views: 6047

External table is not in the expected format

Hi, I'm running on 5.10.25 I have created an Excel2007 xlsx file with XLSReadWriteII5 like so: XLS := TXLSReadWriteII5.Create(nil); try // somestuff for i := 0 to Pred(FileContents.Count) do begin for j := 0 to Pred(LineContents.Count) do XLS[0].AsString[j,i] := LineContents[j]; end; XLS.Calculate; ...