Jump to content

This topic is 7323 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

Posted

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...

This topic is 7323 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.