高手请指点(TGraphic问题)?????????????????????????????
我想通过下面语句向paradox表中的graphic字段插入图像,但是总是报错,请问这是怎么回事?(程序如下)可否教小弟一个解决的方法,谢了。
var
graphic1:tgraphic;
begin
try
graphic1:=TGraphic.Create;
graphic1.loadfromfile('d:\aa.bmp');//报错位置
table1.insert;
table1.fieldbyname('image').assign(graphic1);
table1.post;
finally
graphic1.free;
end;
end;