Can not add image/binary data into SQL Server Compact table
Posted: Mon 30 May 2011 08:43
Hi
I have a SQLCE table that has an image field. When I try to add a new record
table.Append;
table.FieldByName('Id').AsInteger := i;
table.FieldByName('ImageRaw').AsBytes := BytesOf(image);
table.Post;
I get following error on table.Post
"Errors occurred. [,,,,,]"
This seems like a bug in UniDac.
I am using Delphi 2010, the newest UniDac and SQLCE 4.0
Best regards,
Jaakko
I have a SQLCE table that has an image field. When I try to add a new record
table.Append;
table.FieldByName('Id').AsInteger := i;
table.FieldByName('ImageRaw').AsBytes := BytesOf(image);
table.Post;
I get following error on table.Post
"Errors occurred. [,,,,,]"
This seems like a bug in UniDac.
I am using Delphi 2010, the newest UniDac and SQLCE 4.0
Best regards,
Jaakko