G
Guest
Loading a picture into a table field can be done by hand:
- Open the Table with the OLE field inDatasheet view
- Right Click on the field and select "Insert object ..."
- Create from file
etcetera
(Some time ago "Stephen Lebans" answered a related question)
Now I would like to do something similar programmatically, but just can't
find the right syntax.
[ The reason to have pictures stored in the database is that they will be
very small icons held in a reference table containing categories of
the real (e.g. transactional) data. They have to show up in a continuous
form with the real data. The reference table should be easily maintainable. ]
Probably the answers are rather trivial to you, but what is the syntax to
get this done using:
1) DoCmd.RunSQL
or
2) OpenRecordset and rs.Edit ?
Thanks for any help
- Open the Table with the OLE field inDatasheet view
- Right Click on the field and select "Insert object ..."
- Create from file
etcetera
(Some time ago "Stephen Lebans" answered a related question)
Now I would like to do something similar programmatically, but just can't
find the right syntax.
[ The reason to have pictures stored in the database is that they will be
very small icons held in a reference table containing categories of
the real (e.g. transactional) data. They have to show up in a continuous
form with the real data. The reference table should be easily maintainable. ]
Probably the answers are rather trivial to you, but what is the syntax to
get this done using:
1) DoCmd.RunSQL
or
2) OpenRecordset and rs.Edit ?
Thanks for any help