Search found 6 matches

by Seeker
Sat Mar 12, 2016 12:26 am
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII 5 destroys xls strings when writing TWideMemo
Replies: 6
Views: 6233

Re: XLSReadWriteII 5 destroys xls strings when writing TWideMemo

Hi Lars, Ken is totally right. After many hours of debugging, i found out that the 3-d party DBMS components I was using were the one that eventually made the whole mess. These were handling input Unicode data such way that when it war retrieved back from the DB and passed to XLSRWII, it wasn't able...
by Seeker
Fri Mar 11, 2016 12:07 pm
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII 5 destroys xls strings when writing TWideMemo
Replies: 6
Views: 6233

Re: XLSReadWriteII 5 destroys xls strings when writing TWideMemo

Hi Larsa, I got it.. I will give you an example... So suppose that the value stored in the DB is :'Þessi bíll er mjög fljótur og hættulegur í þessum þrönga götu' Now, Delphi has already parsed and put this value to the AdoQ.Fields[fcol].AsString variable (this can be verified by either putting the c...
by Seeker
Fri Mar 11, 2016 10:59 am
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII 5 destroys xls strings when writing TWideMemo
Replies: 6
Views: 6233

Re: XLSReadWriteII 5 destroys xls strings when writing TWideMemo

Hi Larsa, The value of AdoQ.Fields[fcol].AsString is the one that has been stored to the relative table of the DB. What I mean is that, if you put a watch on AdoQ's value you would see that Delphi parses the value correctly no matter if the field is nvarchar or ntext. However, XLS can not write AdoQ...
by Seeker
Thu Mar 10, 2016 11:13 am
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII 5 destroys xls strings when writing TWideMemo
Replies: 6
Views: 6233

XLSReadWriteII 5 destroys xls strings when writing TWideMemo

Hi, I am using Delphi XE10 on windows7 and I've built an application in which I try to create an xls file with XLSReadWriteII 5 component. Specifically I am reading data that has been stored previously in an sql table and exporting it to a xls file. Now, while everything works fine with ASCII charac...
by Seeker
Tue Jan 05, 2016 11:59 am
Forum: XLSReadWritwII 6
Topic: Can not open xlsx successfully with MSExcel
Replies: 1
Views: 2559

Re: Can not open xlsx successfully with MSExcel

In my initial post / request for help, I wanted to say that with the project I am building the user can extract the data from specific tables of one of his Databases and export them to an xlsx file that is created with the XLSReadWriteII 5 component.
by Seeker
Tue Jan 05, 2016 2:52 am
Forum: XLSReadWritwII 6
Topic: Can not open xlsx successfully with MSExcel
Replies: 1
Views: 2559

Can not open xlsx successfully with MSExcel

Hi, I am creating a project with Delphi 7, MSSql 2000 in which the user is able to draw the content of a database and export it in an xlsx file. Now, I put in a form an XLSReadWriteII 5 object (which I named XLappSun) and execute the following code in order to create the xlsx file: XLappSun.Clear; T...