Undeclared indentifier : 'ftBlob'

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
lmancini
Posts: 1
Joined: Wed 27 Feb 2008 14:22

Undeclared indentifier : 'ftBlob'

Post by lmancini » Wed 27 Feb 2008 14:31

hello.

i has using delphi 7 and MySQL Data Access Components 4.30.

at the error....

SQL.SQL.Clear;
SQL.SQL.text := 'Update client set image = :img where codigo='1';
SQL.ParamByName('img').LoadFromFile(arquivo.text,ftBlob);
SQL.Execute;

this error

Undeclared indentifier : 'ftBlob'

not compiler permission the applicattion.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 29 Feb 2008 15:31

Check that DB unit is included to the uses clause of the unit where the error arises.

Post Reply