Keith Clark wrote:
How do I store a picture, say a jpeg file, into a blob field?

Keith


Interactivly:

Add an image control to a form.
View>ToolBars> Form Control
Clisk on the 'More Controls' button on that toolbar and you find the 'Image control' on the "More Controls" toolbar that opens.

Attach it to your blob field.

When the form is in data input mode right click on the control and a context menu lets you open the Open File Dialog allowing you to select the grahpic file. Save the record.

Via code:
I put up a basic example not long ago.. search for updateBinaryStream in the archives or google, there are a good many examples I think. Otherwise I'll touch that with you again tomorrow also.

Drew


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to