I have one of my tables where I store files as "Attachment" datatype against each employee record. Till this point everything is okay.
Now, what I want is to display in the form is on selecting an employee (I'm using a combo box to populate all the employees), I want to display all corresponding records from the table on the form. All other details are displayed fine except the "Attachment" record.
What I have done is used a "SELECT" query to get all records of the selected employee and populate it in a "Recordset". Then I displayed on the form like this.
Expand|Select|Wrap|Line Numbers
- txtLastName = rs.Fields("Resource_Last_Name")
- txtFirstName = rs.Fields("Resource_First_Name")
- txtResourceCompany = rs.Fields("Resource_Company")
- txtResourceJobTitle = rs.Fields("Resource_Job_Title")
- txtStreetName = rs.Fields("Resource_Street")
Expand|Select|Wrap|Line Numbers
- attcResume.ControlSource = rs.Fields("Resource_Resume")
Run-time error '13':I am a bit stuck on ideas over this. Any idea?
Type mismatch
Thanks in advance.