Search found 10 matches

by softwestteam
Sat 16 Feb 2013 18:33
Forum: Universal Data Access Components
Topic: Unidac Special Characters
Replies: 2
Views: 1301

Unidac Special Characters

Hi,
I have a problem with TUniSQL component.
I want to insert a string that is encrypted... in a MySQL table but the string is changed.

Text that I want to insert
—•yu¯ÐßÊE<[©su¦¯˜¶•h¡†¥™²­˜¢¶¨zv\¶xi¨ž–ª©h~J—”ž˜—§–hb3{b@o›ÏØțשÒÌà˜uk

Text in MySQL DB
—•yuŻĐßĘE<[©su¦Ż˜¶•hˇ†Ą™˛­˜˘¶¨zv\¶xi¨ž–Ş©h~J—”žť˜—§–hb3{b@o›ĎŘțשŇĚŕ˜uk

Some characters are changed ....yu¯ to yuŻ
If I write this string in DB manualy it works ...

I try also with Parameters but is the same result. I changed the connection to UniCode,I try with charset UTF8 but I didn't find a solution.
What I did wrong?

Unidac version is 4.1.3
Delphi 2006

Thanks !
by softwestteam
Tue 12 Apr 2011 12:38
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

I enlarged some string fields and everything it's working now.
It's interesting because I load a DBF table that have the exact structure as the DB2 table
Thanks a lot!!!
by softwestteam
Mon 11 Apr 2011 17:34
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

Hello
I have another problem
When I use a UniLoader I get this error.


[IBM][CLI Driver][DB2/NT] SQL0302N The value of a host variable in the EXECUTE or OPEN statement is out of range for its corresponding use.SQLSTATE=22001

The table that is loaded is very big (over 200.000 records)
With other database like Firebird, SQLite, PostgreSQL it work.

Thanks
by softwestteam
Mon 11 Apr 2011 09:38
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

It work!

It work
Thanks a lot!!!
by softwestteam
Sat 09 Apr 2011 14:43
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

I'm running out of time .. Help please?
Thanks
by softwestteam
Fri 08 Apr 2011 09:00
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

DB2 Control Center works

DB Control Center works.. I create databases, tables,users...but when I try to access a database with Unidac I get that error...
by softwestteam
Thu 07 Apr 2011 08:34
Forum: Universal Data Access Components
Topic: Problem with connection to DB2
Replies: 10
Views: 15619

Problem with connection to DB2

I installed DB2 Express-C on my Delphi station. I create a new database and I try to connect my application to that database but I get this error

[IBM][CLIDriver] CLI0124E Invalid argument value. SQLSTATE=HY009

Uniconnection Configuration:

ProviderName=DB2;
Database=newdatabase;
host=localhost;
port=50000;
username:db2admin;
password=1;

What I'm doing wrong?
by softwestteam
Mon 01 Nov 2010 14:59
Forum: Universal Data Access Components
Topic: Uniloader(from VirtualTable to Firebird) SQL error code=-842
Replies: 4
Views: 2692

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..
by softwestteam
Mon 01 Nov 2010 06:44
Forum: Universal Data Access Components
Topic: Uniloader(from VirtualTable to Firebird) SQL error code=-842
Replies: 4
Views: 2692

Uniloader(from VirtualTable to Firebird) SQL error code=-842

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
by softwestteam
Fri 29 May 2009 10:49
Forum: Universal Data Access Components
Topic: Unidac SQLite3.dll
Replies: 10
Views: 6903

Unidac SQLite3.dll

When I open the uniconnection the following error appears:

Connection clientlibrary differs from already active connection

On the ClientLibary property is the path to the sqlite3.dll, downloaded from http://www.sqlite.org/download.html

What can I do?