October 14, 200520 yr 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, 200520 yr by Guest
October 14, 200520 yr I attached you one of ways to do it by script. Last time i did it by using other aplication from FM. OpenFile.zip
October 16, 200520 yr Author 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.
October 23, 200520 yr Variables only work in FM8 for file saving..., a great reason to upgrade though. DJK
October 24, 200520 yr 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
Create an account or sign in to comment