That is what I'm looking for.
Thanks
Zdenek
Search found 14 matches
- Fri Oct 31, 2014 4:13 pm
- Forum: XLSReadWritwII 6
- Topic: AsVariant returns 1 if cell is clear
- Replies: 6
- Views: 3666
- Fri Oct 31, 2014 12:48 pm
- Forum: XLSReadWritwII 6
- Topic: AsVariant returns 1 if cell is clear
- Replies: 6
- Views: 3666
Re: AsVariant returns 1 if cell is clear
Ok.
How can I find that htere is nothing in cell?
Now I'm using
if not FindCell() then result:=Null
but I also need test for Blank Cell. How can I test if cell is blank?
Thanks
Zdenek
How can I find that htere is nothing in cell?
Now I'm using
if not FindCell() then result:=Null
but I also need test for Blank Cell. How can I test if cell is blank?
Thanks
Zdenek
- Wed Oct 29, 2014 4:58 pm
- Forum: XLSReadWritwII 6
- Topic: AsVariant returns 1 if cell is clear
- Replies: 6
- Views: 3666
Re: AsVariant returns 1 if cell is clear
I think it should return Null as this is a purpose of Variant type.
Z
Z
- Fri Oct 24, 2014 12:52 pm
- Forum: XLSReadWritwII 6
- Topic: AsVariant returns 1 if cell is clear
- Replies: 6
- Views: 3666
AsVariant returns 1 if cell is clear
Hello, I have problem with AsVariant. If cell is clear, funtion returns value "1". I think the problem is in GetAsVariant: function TXLSWorksheet.GetAsVariant(ACol, ARow: integer): Variant; var Cell: TXLSCellItem; begin if FCells.FindCell(ACol,ARow,Cell) then begin case FCells.CellType(@Ce...
- Wed Oct 01, 2014 1:58 pm
- Forum: XLSReadWritwII 6
- Topic: Unable to create hyperlink
- Replies: 4
- Views: 2895
Re: Unable to create hyperlink
Sorry to be to late. Lot of another work. Here is code sample XLS.Insert(1); XLS.Sheets[0].Name:='Přehled pokladních operací'; XLS.Sheets[1].Name:='Definice pokladních operací'; XLS.Sheets[0].AsInteger[1,10]:=1; with XLS.Sheets[0].Hyperlinks.Add do begin Col1:=1; Col2:=1; Row1:=10; Row2:=10; Address...
- Fri Jun 20, 2014 11:59 am
- Forum: XLSReadWritwII 6
- Topic: AsVariant and null hangs on error
- Replies: 3
- Views: 2379
Re: AsVariant and null hangs on error
I think it's not good behaviour. If I set Null to cell using AsVariant, cell should be cleared. Thats's why we use variants with nulls.
This should work directly like this:
XLS[].AsVariant[]:=Dataset.Fields[].AsVariant
This should work directly like this:
XLS[].AsVariant[]:=Dataset.Fields[].AsVariant
- Fri Jun 20, 2014 11:55 am
- Forum: XLSReadWritwII 6
- Topic: BIFF is nill after clear
- Replies: 2
- Views: 2105
Re: BIFF is nill after clear
Ok. So Is setting Version at runtime right approach?
- Fri Jun 20, 2014 11:54 am
- Forum: XLSReadWritwII 6
- Topic: Unable to create hyperlink
- Replies: 4
- Views: 2895
Re: Unable to create hyperlink
If I remove quotes, it's still not working.
- Thu Jun 19, 2014 5:46 pm
- Forum: XLSReadWritwII 6
- Topic: AsVariant and null hangs on error
- Replies: 3
- Views: 2379
AsVariant and null hangs on error
Hello,
If I set null to AsVariant(col,row), application raises exception and excel file is corrupted. AsVariant function should handle null state properly.
Thanks
Zdenek
If I set null to AsVariant(col,row), application raises exception and excel file is corrupted. AsVariant function should handle null state properly.
Thanks
Zdenek
- Thu Jun 19, 2014 5:06 pm
- Forum: XLSReadWritwII 6
- Topic: Unable to create hyperlink
- Replies: 4
- Views: 2895
Unable to create hyperlink
Hello, I have this code in version 4 to create hyperlink to secont sheet (in one workbook): with XLS[0].Hyperlinks.Add do begin Col1:=1; Col2:=1; Row1:=Row0; Row2:=Row0; Address:='''Definice pokladních operací''!C100'; end; But with version 5, this hyperlnik do not work. If I click on it nothing hap...
- Thu Jun 19, 2014 5:03 pm
- Forum: XLSReadWritwII 6
- Topic: BIFF is nill after clear
- Replies: 2
- Views: 2105
BIFF is nill after clear
Hello, I'm using excel97 format. If I set excel version on form (in component) to xvExcel97 and I want to start using BIFF, the BIFF is always nil. Also this happens after Clear call. I have to set Version=xvExcel97 at runtime to solve this: XLS.Clear; XLS.Version:=xvExcel97; //to create BIFF Is thi...
- Mon Feb 18, 2013 5:01 pm
- Forum: XLSReadWritwII 6
- Topic: Cannot download X64 version
- Replies: 0
- Views: 2319
Cannot download X64 version
Hello,
I can not download 64bit version form XE2.
Thanks
Zdenek
I can not download 64bit version form XE2.
Thanks
Zdenek
- Wed Dec 05, 2012 9:23 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Delphi XE2 64 bit support
- Replies: 15
- Views: 17637
Re: Delphi XE2 64 bit support
Please add ShareIt link also.
- Wed Aug 01, 2012 2:27 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: AsVariant and Unicode problem
- Replies: 0
- Views: 2802
AsVariant and Unicode problem
Hello,
when assigning value to cell with AsVariant unicode strings are not stored:
XLS.Sheets[0].AsVariant[ACol,ARow]:= unicode string here
Problem is in SetAsVariant where unicode vartype is not tested. Ver 4.0.57
Thanks
Zdenek
when assigning value to cell with AsVariant unicode strings are not stored:
XLS.Sheets[0].AsVariant[ACol,ARow]:= unicode string here
Problem is in SetAsVariant where unicode vartype is not tested. Ver 4.0.57
Thanks
Zdenek