Subject Re: Coping a Binary File
From Forrest <forrestganther@yahoo.com>
Date Tue, 27 Sep 2016 14:50:11 -0400
Newsgroups dbase.getting-started

Forrest Wrote:

> I am trying to copy a binary file (jpeg/bmp) (that meets criteria) from one table to another table.  I just can't figure it out.  Would someone help me?
> Thanks, I would appreciate your help!
> Forrest
this is one of the things I have tried

      dp = new query()
      dp.database := d
      dp.sql := [SELECT * from Deacons where name = Lnme ]
      dp.active   := True

      dp.rowset.Fields["Pict"].copyToFile("temp.jpg")
      dp.active := false