Email lists > Delphi programming > [delphi-en] Re: Loading a picture into a TblobField of the ADOTable for INSERT > [delphi-en] Re: Loading a picture into a TblobField of the ADOTable for INSERT

[delphi-en] Re: Loading a picture into a TblobField of the ADOTable for INSERT




This post if a part of  this thread

2008-05-20 01:32:36
Re: Loading a picture into a TblobField of the ADOTable for INSERT

Anu,
This error raised when you try to make changes in 'TADOTable' when its
not in Edit or Append mode. To fix this problem just put a line

ADOTable1.Edit;

before this line:
TBlobField(Form1.ADOTable1.FieldByName(`Picture')).LoadFromFile
> (filename);

__._,_.___
.

__,_._,___

about | contact  Other archives ( Real Estate discussion Medical topics )