I have created a database where I store my ebooks.
Therefore, let's assume that in the field "Title" there is an entry called "cooking.pdf". The file is physically stored, let's say at C:\MyEbooks\cooking.pdf
I created a query where I get the records of the table (all or filtered) and I added a field where I wrote 'Link to Open: "C:\MyEbooks\"+[title] where title is the name of the field in the table, where the filename is stored.
Then I created a Form which represents the query's fields. On the properties of that last field I changed at the bottom the Boolean parameter 'Is Hyperlink' to Yes.
I assumed that by clicking on that field I will have the book opened automatically for me. Alas, it doesn't work...
I guess, it needs some piece of code, maybe in Visual Basic, which is the lang that Office is using. It's not my strenght though...
Any ideas on how to achieve this (maybe a button with a code)
Therefore, let's assume that in the field "Title" there is an entry called "cooking.pdf". The file is physically stored, let's say at C:\MyEbooks\cooking.pdf
I created a query where I get the records of the table (all or filtered) and I added a field where I wrote 'Link to Open: "C:\MyEbooks\"+[title] where title is the name of the field in the table, where the filename is stored.
Then I created a Form which represents the query's fields. On the properties of that last field I changed at the bottom the Boolean parameter 'Is Hyperlink' to Yes.
I assumed that by clicking on that field I will have the book opened automatically for me. Alas, it doesn't work...
I guess, it needs some piece of code, maybe in Visual Basic, which is the lang that Office is using. It's not my strenght though...
Any ideas on how to achieve this (maybe a button with a code)