Newbies spuman Posted July 12, 2006 Newbies Posted July 12, 2006 (edited) I have a database that is muti-user and uses a script step to calculte a file path that is stored in a global field that I then use with the URL command to open a particular file (usually a pdf file). Example: Set Field("sht_path","Left( Status( CurrentFilePath), Length(Status( CurrentFilePath))-18) & "Drawings/" & drawing & "/" & sht & ".pdf"", then Open URL(No dialog, "sht_path". Anyway this approach works every time for the Host. Every time a user envokes the script they get what I believe is a system error that says the FMP5 is not a valid shot cut (Win 2k Prof). when I look at the global sht_path it has "FMP5://256.XXX.XX.X/---------" with the trailing string ------ correct. in XP the error mesage says I don't have the right permissions. I believe when FM sends the later path to the URL.DLL it chokes because it doesn't see the normal file://------- , this is what is sent when the Host envokes the script. What can I do different, or force FM to recalculate the actual path everytime a user envokes the script. P.S. I use the Left( Status( CurrentFilePath), Length(Status( CurrentFilePath))-18)to compute the current Db location for portability. Thanks for any help someone can give Edited July 13, 2006 by Guest
IdealData Posted July 13, 2006 Posted July 13, 2006 I think you need to share out the folder that is holding the PDF files. Hence why the clients have no access, but the host does. DO NOT share out the folder holding the databases otherwise you run the risk of clients acting as hosts.
Recommended Posts
This topic is 6710 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