Hi,
I have a problem with Tuniloader. When I use another database like MySQL or SQLite it work's fine but when I use Firebird I get this error
Dynamic SQL error
SQL error code=-842
Pisitive value expected
I'm missing something..?
Thanks
Uniloader(from VirtualTable to Firebird) SQL error code=-842
-
- Posts: 10
- Joined: Fri 29 May 2009 10:43
- Location: Romania, Arad
-
- Posts: 10
- Joined: Fri 29 May 2009 10:43
- Location: Romania, Arad
It's something very simple.
This is the table structure from Firebird
CREATE TABLE TASSE (
CODFAST VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE,
QUANT FLOAT DEFAULT NULL,
IMPORTO FLOAT DEFAULT NULL,
ALIQUOTA FLOAT DEFAULT NULL,
DESCRI VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE,
TIPO VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE);
and the virtualtable have the same columns....
the code:
....
virtualtable_TabTasse.open;
{populate virtualtable_TabTasse}
.....
uniloader_tasse.LoadFromDataSet(virtualtable_TabTasse);
...
I change the all columns to VARCHAR and I made a small test.....I inserted in the VirtualTable a record and try to use Uniloader...but I get the same error ...
I try even with TUniTable instead TVirtualTable...but it's the same..
This is the table structure from Firebird
CREATE TABLE TASSE (
CODFAST VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE,
QUANT FLOAT DEFAULT NULL,
IMPORTO FLOAT DEFAULT NULL,
ALIQUOTA FLOAT DEFAULT NULL,
DESCRI VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE,
TIPO VARCHAR(100) CHARACTER SET NONE DEFAULT NULL COLLATE NONE);
and the virtualtable have the same columns....
the code:
....
virtualtable_TabTasse.open;
{populate virtualtable_TabTasse}
.....
uniloader_tasse.LoadFromDataSet(virtualtable_TabTasse);
...
I change the all columns to VARCHAR and I made a small test.....I inserted in the VirtualTable a record and try to use Uniloader...but I get the same error ...
I try even with TUniTable instead TVirtualTable...but it's the same..