Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble opening pdf file
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01258626
Message ID:
01258639
Views:
20
>I have yet to try it. My current code is nearly correct and not actually giving me any errors. The only problem I have is that Adobe opens up and says there is no file by that name. Therefore, I think there is something just slightly wrong with:
>
> pdfpath = ("H:\Work\"+thisform.txtEPAID.Value+".pdf")
>
>It seems to me that this should give the correct path name, but for some reason it is slightly off.

First of all, make sure you TRIM thisform.txtEPAID.Value.

If you assert .f. right after pdfpath is set, what is the value of pdfpath? If you copy that value and paste it into a command prompt, what happens?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform