Hi,
I am creating a database that requires a user to link a file to a record in the database. To do this I am currently using an update query, The user manually 'copy as link' from the file and pasting into the update to field. The issue is - Copy As Link adds "'s before and after the link text, which is not read by access as a link and therefore renders my link unclickable. To get around this i have created a form to paste the As Link into, with a VBA that replaces both "'s with #'s. If your following me so far.
My VBA perameters set this new #Link# string as 'Lnkedit'
The VBA then initiates the update query.
My issue is - How do I tell the VBA to populate the 'Update to' parameter with my Lnkedit string? While still allowing the user to select my Query criteria Parameters that specify which records the file is linked to?
Or am i overcomplicating things - is there an easier way to link 1 object to several different records on my database?
Thanks
I am creating a database that requires a user to link a file to a record in the database. To do this I am currently using an update query, The user manually 'copy as link' from the file and pasting into the update to field. The issue is - Copy As Link adds "'s before and after the link text, which is not read by access as a link and therefore renders my link unclickable. To get around this i have created a form to paste the As Link into, with a VBA that replaces both "'s with #'s. If your following me so far.
My VBA perameters set this new #Link# string as 'Lnkedit'
The VBA then initiates the update query.
My issue is - How do I tell the VBA to populate the 'Update to' parameter with my Lnkedit string? While still allowing the user to select my Query criteria Parameters that specify which records the file is linked to?
Or am i overcomplicating things - is there an easier way to link 1 object to several different records on my database?
Thanks
Last edited: