Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images
Message
From
11/05/2000 15:22:51
 
 
To
10/05/2000 18:26:57
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Re: Images
Miscellaneous
Thread ID:
00368363
Message ID:
00368745
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform