Kent Searight Posted September 10, 2007 Posted September 10, 2007 Is there any way for a runtime to calculate its own file path, much like the function "Get (FileMakerPath)" does in unbound solutions? Thanks in advance!
comment Posted September 11, 2007 Posted September 11, 2007 Doesn't Get(FileMakerPath) work in a runtime?
comment Posted September 11, 2007 Posted September 11, 2007 Well, it was meant as a rhetorical question... I am sorry you wasted your time on testing.
Kent Searight Posted September 11, 2007 Author Posted September 11, 2007 Either I'm missing something or I didn't explain myself well. Using Get (FileMakerPath) in a runtime returns the path to FileMaker Pro application, not the FM runtime application (at least that's the result I get)
Fenton Posted September 11, 2007 Posted September 11, 2007 Not for me. It's the runtime path, when opened with the runtime app.
comment Posted September 11, 2007 Posted September 11, 2007 Not here - and as it turns out, neither in San Diego. How could it? You could have any number (including zero) of FMP apps installed, and any one of them could be running or not. How would the bound file, opened in the runtime APPLICATION, figure out which one? Is it possible you're opening a bound file in the full FMP app?
Kent Searight Posted September 11, 2007 Author Posted September 11, 2007 Not here - and as it turns out, neither in San Diego. How could it? You could have any number (including zero) of FMP apps installed, and any one of them could be running or not. How would the bound file, opened in the runtime APPLICATION, figure out which one? That's what I can't figure out. Is it possible you're opening a bound file in the full FMP app? No, FMP isn't even running. The behavior you two are describing is exactly what I expected (and wanted) to happen, but it's not what I'm seeing. Instead I get the path to FMP 9 Advanced, which is what I created it with. I'm going to test on another machine.
AudioFreak Posted September 11, 2007 Posted September 11, 2007 The behavior you two are describing is exactly what I expected (and wanted) to happen, but it's not what I'm seeing. Instead I get the path to FMP 9 Advanced, which is what I created it with. I'm going to test on another machine. So you don't think you're crazy I got the same result. I even tried moving the folder containing the runtime....Still gave the location of when I created it. Michael
Vaughan Posted September 11, 2007 Posted September 11, 2007 I bet you've got the Get (FileMakerPath) function in a *stored* calculation. Make it unstored so it can update itself.
Kent Searight Posted September 11, 2007 Author Posted September 11, 2007 (edited) Got it!!! About a minute after submitting the last post I realized I had to make the calc unstored. --- Thanks, Vaughan, I just got it. Edited September 11, 2007 by Guest
AudioFreak Posted September 11, 2007 Posted September 11, 2007 lol...Alwyays the obvious...In the end anyways.
Recommended Posts
This topic is 6282 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