File download with url from database

I using an URL with a created parameter to filter the item needed. (custom query)
I would like to download a file with a button placed on a form which has a filename stored in the database
How to achieve this?

Community Page
Last updated: