Discussion:
Incorrect values within SQLDA Structure
(too old to reply)
Jan Van Bogget
2008-04-06 12:33:06 UTC
Permalink
Hello, this my big problem :

When i Insert data from memo1.text into my Firebird Table, i becomming the
following error :

Incorrect values within SQLDA Structure

This is the Delphi code that i use :


With SqlQuery1 do
begin
Sql.Clear;
Sql.Text := 'Insert Into Mijn_tabel(Omschrijving)
Values(:_Omschrijving);
ParamByName('_Omschrijving').AsBlob := Memo1.Text;
ExecSQL;
end;

I Work with D2007 Win32 with the lastest updates, Firebird 2.1 and
DbExpress ....


Wath is wrong ??
Thanks for Help ....
srdaniel
2008-04-16 15:49:40 UTC
Permalink
How is the BLOB field defined?
Could it be a character set issue?
Have you tried ParamByName('').asString instead of .asBlob?
Post by Jan Van Bogget
When i Insert data from memo1.text into my Firebird Table, i becomming
Incorrect values within SQLDA Structure
With SqlQuery1 do
begin
Sql.Clear;
Sql.Text := 'Insert Into Mijn_tabel(Omschrijving)
Values(:_Omschrijving);
ParamByName('_Omschrijving').AsBlob := Memo1.Text;
ExecSQL;
end;
I Work with D2007 Win32 with the lastest updates, Firebird 2.1 and
DbExpress ....
Wath is wrong ??
Thanks for Help ....
Craig Stuntz [TeamB]
2008-04-16 16:18:44 UTC
Permalink
Post by srdaniel
Have you tried ParamByName('').asString instead of .asBlob?
They are the same.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
IB 6 versions prior to 6.0.1.6 are pre-release and may corrupt
your DBs! Open Edition users, get 6.0.1.6 from http://mers.com
Paul Hughes
2008-04-16 15:55:02 UTC
Permalink
Post by Jan Van Bogget
When i Insert data from memo1.text into my Firebird Table, i becomming the
Incorrect values within SQLDA Structure
Also be aware that the CG supplied interbase driver may have some issues
with FB as it's not 'supported'. I would also check whether you have the
right fbclient.dll (copied to GDS32.dll) as I have seen that error myself
when using the interbase version of GDS32.dll.

There are some earlier posts on this subject too.

Regards, Paul.
Loading...