I have a linked table called "dbo_proble ms", and a form called "Problem Records Details". I have created a table called "Attachment s". The "Attachment s" table contains the following fields: ID, Problem_ID, and Attachment.
ID is Primary Key (DataType=AutoN umber)
Problem_ID is (DataType=Numbe r) (Indexed Yes No Duplicates)
Attachment is (DataType=Attac hment) (Required = No)
The form "Problem Records Details" has an Unbound object called Attachment. I would like the user to be able to insert an attachment from this form. I have tried the following as the control source:
Only the attachments where Problem_ID of the attachments table equals the ID of the record displayed on the "Problem Records Details" form.
This does not seem to be working. Any help, ideas, or insight would be greatly appreciated.
Thank you in advance.
Regards,
Catalyst
ID is Primary Key (DataType=AutoN umber)
Problem_ID is (DataType=Numbe r) (Indexed Yes No Duplicates)
Attachment is (DataType=Attac hment) (Required = No)
The form "Problem Records Details" has an Unbound object called Attachment. I would like the user to be able to insert an attachment from this form. I have tried the following as the control source:
Code:
SELECT [Attachment] FROM [Attachments] WHERE [Problem_ID]=Forms![Problem Records Details]![ID];
This does not seem to be working. Any help, ideas, or insight would be greatly appreciated.
Thank you in advance.
Regards,
Catalyst
Comment