Jump to content
Server Maintenance This Week. ×

Open script and IWP


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

Recommended Posts

In my experimentation with IWP in FM7 I have found that, when you first open the file from the IWP Home Page, the Open script in the database runs. The problem that the open script is designed for the FileMaker Pro users that open the database, not the IWP users and thus goes to a different layout than I want the IWP folks to go to.

Is there a way to tell that a guest is opening the database from IWP so that I can put that condition into the open script? I am open to other suggestions as well.

Link to comment
Share on other sites

in the open script use

Set field (xxxxxx;(get application version)

If pattern count field xxxxx;Web >0

goto layout for the web

else

goto layout for the client

You get the idea.. get application version will display either the web of fm7 depending on where they came from

Stu

Link to comment
Share on other sites

  • 2 weeks later...

Lwlgeorge,

Another option is to skip the field altogether and just use

If [PatternCount(Get(ApplicationVersion); "Web")]

Either way will work, though.

Link to comment
Share on other sites

This topic is 7112 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.