And if that doesn't work try double quotes in the variable: set var vfilename text = ' "c:\program files\test.pdf " ' -- I've put a space to make them show up, the spaces are not needed.
IF that doesn't work, I've found creating a variable for the path and another for the name does: set var vpathname text = ' "c:\program files\" ' set var vfilename text = ' "test.pdf" ' set var vPathFileName = (.vpathname + .vfilename) -- + NOT & - else you get a space!! (Don't ask why this should make any difference but my experience is that it does.) If you're using the same folder regularly then the 2 variables might help anyway... Regards, Alastair On 23/01/2019 15꞉24, 'Karen Tellef' via RBASE-L wrote: Put the filename into a variable. As an example, put a PDF file into your "c:\program files" directory. You can see that directory name has a space in it. Then do this: set var vfilename text = 'c:\program files\test.pdf' launch .vfilename Karen -----Original Message----- From: dkfowler6179 <[email protected]><mailto:[email protected]> To: RBASE-L <[email protected]><mailto:[email protected]> Sent: Wed, Jan 23, 2019 9:13 am Subject: [RBASE-L] - Linking to a pdf file or jpeg Using latest version. Trying to understand how to be able to allow a user to open a pdf file or photo file from a form. The hurdle I'm having trouble with is generating the path to the resource. I don't want to have to enter a path or file name into each entry. I need to be able to generate the path and open the file based on info already in the table/entry. When I've tried so far, I end up with spacing in the generated path that causes the path to be incorrect. Any help is appreciated. David Fowler Roto-Rooter -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].<mailto:[email protected].> For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

