T-Square Posted January 18, 2005 Posted January 18, 2005 I put a message under the Scriptmaker forum asking about testing in a script for the client protocol, in order to make a solution that would run under either Filemaker directly, or through IWP. Perhaps it should have been put here? Specifically, I would rather not create both a Web version and an FM version of my database, but would rather test for whether the client is using IWP or not, and if so, to activate a different set of steps. Is this possible, or advisable? What approach do others take with this sort of situation?
Reed Posted January 18, 2005 Posted January 18, 2005 Place all the things you want only for the web inside an if block like the one below: If [ PatternCount(Get (ApplicationVersion) ;"Web") ] For more detail, look at the help for the Get (ApplicationVersion) function. Let me know if you need more help. Dana
T-Square Posted January 20, 2005 Author Posted January 20, 2005 Thanks for the reply. Presumably, testing the reverse--i.e., If [ Not ( PatternCount (Get (ApplicationVersion) ;"Web")) ] --and putting the non-compatible steps inside the If-block will work as well, yes? Just checking...
Recommended Posts
This topic is 7516 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