kiwiora Posted October 14, 2005 Posted October 14, 2005 (edited) Hi everyone, I want to be able to open a file on the server based on a variable. Is this possible? Open File - fmnet/01.1.10.15/$$FMFilename I've tried but it seems it doesn't like opening a "variable" filename. TIA Edited October 14, 2005 by Guest
aaa Posted October 14, 2005 Posted October 14, 2005 I attached you one of ways to do it by script. Last time i did it by using other aplication from FM. OpenFile.zip
kiwiora Posted October 16, 2005 Author Posted October 16, 2005 Thanks I've already done that, but that's not dynamic enough. If you were able to use the variable then you would only have 2 steps instead of 2 steps x number of files. If I did it that way I'd have to edit it every time a new database was created, let alone the number of times for each file. I would really like to be able to use the variable.
dkemme Posted October 23, 2005 Posted October 23, 2005 Variables only work in FM8 for file saving..., a great reason to upgrade though. DJK
bruceR Posted October 24, 2005 Posted October 24, 2005 I want to be able to open a file on the server based on a variable. Is this possible? Open File - fmnet/01.1.10.15/$$FMFilename Wrong script step. Use open url with the correct IP address, for example: "fmp7://localhost/" & $$filename
Recommended Posts
This topic is 6973 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