Variables in Webviewer Calculation Fields
I am using a webviewer field to show pdfs that currently reside on the computer network at my work. I know how to write the the web address to find a single pdf. However, what I need to do is make a variable in my web address so that the pdf that is pulled up will change based on the input of a particular field. Each time I have tried to do this, I have failed. The web address I am using right now is "file://P:/HEAT TREAT CERTS/Heat Treatment 2::Work Order HT.pdf".
Heat Treatment 2::Work Order is the name of the field and HT is text that is at the end of pdf. For example, if I wanted to show one particular pdf with the file name 23604-R01 HT.pdf, the web address would look like "file://P:/HEAT TREAT CERTS/23604-R01 HT.pdf". In this case 23604-R01 would have been the text in the Heat Treatment 2::Work Order field.
Can someone please tell me where I am going wrong with "file://P:/HEAT TREAT CERTS/Heat Treatment 2::Work Order HT.pdf".?
"file://P:/HEAT TREAT CERTS/" & Heat Treatment 2::Work Order & " HT.pdf"