If you plan on saving the BMP or GIF back on the workstation later, I suggest using TEXT fields that will convert to MEMO on VFP.
I'm assuming you are using SQL passthrough. Assuming your field is name
imgfield, try something like this:
m.fdata = <i>tablename</i>.imgfield
SQLExec(nConn, "INSERT INTO TABLE <i>tablename</i> (imgfield) " + ;
"VALUES (?fdata)")
VFP will understant what you mean by ?fdata. It's the same thing should you prefer to use Text/Memo fields.
Hope this helps!
>I have a bmp or gif image in a VFP table insise a general field. How
>How can I store it on an sql server table inside an image field using odbc?
>Thanks.
Sylvain Demers