I have tried and tried to find a function to add an OLE object to a table in a form I made for filling this table.
What I want is a button that will open a file dialog where i can select a file (linked) that will be added to a certain field in a table (this field holds OLE objects).
Can anyone help me with this?
PS. The next step of the code I'm trying to write will email a word form as an attachment (this wordform will be filled with information from a table). If there is also an OLE object in the record, this object should also be sent as an attachment....if someone has a solution for this problem that would be great.
What I want is a button that will open a file dialog where i can select a file (linked) that will be added to a certain field in a table (this field holds OLE objects).
Can anyone help me with this?
PS. The next step of the code I'm trying to write will email a word form as an attachment (this wordform will be filled with information from a table). If there is also an OLE object in the record, this object should also be sent as an attachment....if someone has a solution for this problem that would be great.