How to link a file located on a database

Hello! I have a field in a form where, using a capture link, I got a file name from another table. Now, I wish to make a reference to that file and be able to open it, but I don’t want to save the file twice. How can I do that? I appreciate your help.