Error message "Incorrect values within SQLDA structure" with Firebird and Delphi 2009 -


I'm sturfying with the error message "incorrect values ​​within SQLAd structure" when I update the Blob field in Firebird 2.1 Trying to do the database from the Delphi 2009 DBX application.

However, when I am trying to execute the TSQLLL with SSL, the error message is found: "Set up MathShell FIELD1 =: Data where id =: ID"

The related Delphi code is:

  MyQuery.ParamByName ('id'). AsInteger: = id; MyQuery.ParamByName ('Data'). LoadFromFile (filename, ftBlob); MyQuery.ExecSQL ();  

Where should I look? It is working in Delphi versions first.

Check your driver again - this is for firebird or you Can use the interbase driver for?. It is known that the Firebird team has changed the SBUDA structure to bloc in 2.1 and therefore, the Interbus driver can no longer be used.

You have a few options here:

  1. (Recommended, imo) Upgrade to Delphi 2010 - In addition to a DBX firebird driver you will get lots of things (see
  2. Buy a 3rd party driver for Firebird which works in Delphi 2009
  3. "Downgrade" your Firebird (its last resort, use this)
  4. Change your connectivity library. Yes, this code can mean rewriting.

Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -