Jump to content

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

Recommended Posts

Posted

I thought that I read somewhere that you could dictate which page launches when IWP is accessed, but I can't find it.

Does anybody know if this can be done?

Thanks,

Brad

Posted

Hi Brad,

You can set a startup script to run which jumps to a specific layout. This is what I've been doing and it has been working well. I have a table with all my users names in it, and they can set the default page to start with.

Apparently this is another way to do it:

http://<webaddress.com>/fmi/iwp/cgi?-db=<DATABASE>&-lay=2&-gotolayout=

I've never been able to get it to work though, and when I asked if anyone could confirm that it really does work, no one replied. So I'm assuming it doesn't smile.gif

Cheers,

Sean.

Posted

Hi Sean,

So is there a pre-written script for that functionalilty? I can't seem locate it. If not, would you mind sharing the script that you created?

Thanks,

Brad

Posted

No pre-written scripts, but all you need for the most basic function is a script, called whatever you like eg. Startup, which contains a single line:

Go to Layout [(selectYourLayout)]

Then in the file menu select File Options and check the box to perform script at startup, and choose your script.

Alternatively you could select the Switch To Layout option, but a script can be made to do other things as well, so it's generally a better option.

Does that help?

Cheers,

Sean.

Posted

Thanks Sean.

However, I did find this solution, and I don't need a scrip:

Go to the File menu in FileMaker Pro 7, then "File Options". There you will be able to select the layout you want the database to automatically switch to upon opening.

-Brad

  • Newbies
Posted

I am trying to set up the db on our Intranet so that someone can logon, add a record, but not see previous records. I can't seem to find how to limit "find." As soon as I create a new record, it allows a user to look through all of the other records.

Thanks,

- Brad (but not the same Brad as above)

IWP Filemaker 7

Mac OSX

Posted

Hi Brad (2),

I notice you have changed the subject of the thread started by Brad (1),

Here is my answer to your subject and question:

In my solution I have a scripted button that:

- jumps to the layout,

- omits multiple records: Get(TotalRecordsCount)

- creates a new record

- hides and locks status area

On that layout you should create buttons/scripts to submit (commit), log out, go on, etc.

I suppose this answers your question.

I am interested in any alternative solutions.

Gus

  • Newbies
Posted

Just to verify for seanc and others that might be interested. This does seem to work for me and has been very helpful.

http://<webaddress.com>/fmi/iwp/cgi?-db=<DATABASE>&-lay=2&-gotolayout=

Of course you have to put the right layout number of the layout you want under the -lay=## part. Also, I found out through trial and error that you have to have the layout in the layout menu or it doesn't seem to work. Since you can now display 50 records in Table View, this has been a convenient answer to giving people get a quick update on the information without having to use the client to log in and get it.

Posted

Ah. None of my layouts are in the layout menu, so that could be why I couldn't get it to work.

Thanks for the info!

Sean.

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