insert image to access database...
Posted on 2002-05-23
i found a solution in msdn library but cannot work. the solution is as follow:-
Data1 Database Name C:\TEMP\db1.mdb
Data1 RecordSource MyOLETest
OLE1 DataSource Data1
OLE1 DataField Picture
Double-click Command1 , and then paste the following code into the Command1 Code window:
' Assume the bitmap file is located at C:\Windows\ folder.
p/s: when i want to set the OLE1.datasource it pops up an error "member not found"