TaiChi56 Posted September 12, 2004 Posted September 12, 2004 So far I have 7 files in a database. Each file has a PDF brochure assigned to it. When the user clicks on the graphic button on the file the PDF brochure opens. This works great. What does not work is keeping the PDF assigned to the proper file. When I use the specify button and assign the PDF script, it gets assigned to all 7 files. How do I get the PDF files to stay with the right file? Here is the steps I took. I made a script that calls the PDF, i.e. OPEN URL[No dialog;"C:Documents and settingsTASA UserPDF5400Saratoga.pdf. Then I specity the button on the file for 5400 Saratoga to perform script 5400 Saratoga. This works great. But when I go to another file and click on the graphic button I get 5400 Saratoga instead of the that files name. What am I doing wrong. Thank you.
transpower Posted September 12, 2004 Posted September 12, 2004 You probably copied the same graphic button from layout to layout. Check that the script for each button really is different.
cjaeger Posted September 13, 2004 Posted September 13, 2004 sounds you used a global field for your script calc. or , what transpower suggests, you do not use a calculation for the openurl step. openurl [myfile] with field "myfile" = "C:Documents and settingsTASA UserPDF" & docname (docname is a text field in your records table)
TaiChi56 Posted September 19, 2004 Author Posted September 19, 2004 Thank you. I was able to figure out that I could use a container file in every record and then reference the pdf. It works great.
Recommended Posts
This topic is 7459 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now