Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image download from SQL Server database

Status
Not open for further replies.

dmarnerou

Programmer
Jun 12, 2002
30
CY
Hi,

Is there a way I can download an image from an SQL Server database. For example, could I select an image from a DBGrid and then that image would be downloaded to a directory I will specify.

Thanks
Demetra
 
Code:
TBlobField(MyDataSet.FieldByName('IMAGE_COLUMN')).SaveToFile(AFileName);

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top