Solved

File Maker Pro Adv: Bypass browse mode on open

Posted on 2014-03-20
7
615 Views
Last Modified: 2014-04-04
Hi Experts,

How do you bypass browse mode on opening a FileMaker Pro file?

In other words, I want my project to go straight into find mode when I first open it. The reason for this is because I have an external database view with over 6000+ records and I don't want the project to query all records right away.

I tried OnLayoutEnter > Enter Find Mode, but that still displays at least one record and then goes into find mode...

I don't want it to query anything when I first open the layout.

Is it possible?

Thanks in advance.
0
Comment
Question by:rmartes
7 Comments
 
LVL 25

Expert Comment

by:Will Loving
ID: 39943870
One way to handle this is to run a script on opening that puts the window off-screen, goes into Find Mode and then resizes the Window. That might look like this:

Move/Resize Window[ Current Window; Height: -200; Width: -200; Top: 0; Left: 0]
Enter Find Mode [ ]
Adjust Window [ Resize to Fit ]
0
 
LVL 5

Expert Comment

by:Peter Harris
ID: 39943983
Also, you can setup what happens when the file opens under File > File Options (changing to a certain layout and running scripts).
0
 
LVL 6

Expert Comment

by:slinkygn
ID: 39944048
Instead of doing it OnLayoutEnter, you'll probably have better luck trying OnFirstWindowOpen.  (That's in FM 13; it's OnWindowOpen if you're in FM 12.)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 25

Accepted Solution

by:
Will Loving earned 500 total points
ID: 39944270
Rather than using OnLayoutEnter, use OnFirstWindowOpen which is available under File Options as cogitive notes. Set it to run a script that puts the window into Find Mode. I would try, using a script that just performs Enter Find Mode and if your still getting a momentary Browse mode, try the script steps above.

In theory, if you are running either OnFirstWindowOpen or OnLayoutEnter, even if it does show momentarily in Browse mode, the user should not be able to do anything with that because the script trigger runs immediately and puts it in Find Mode.

If, on the chance that your Find mode is simply asking the user to put in a single criteria such as a client's name or some other single criteria search, you could instead have the script run a Custom Dialog with an Input field and perform the search directly using the value entered in the dialog and bypassing user entry into the layout itself.
0
 

Author Comment

by:rmartes
ID: 39978113
Hi guys,

Thanks for your replies.

Will loving, yes that is what I'm trying to accomplish: have the user input a single criteria. I tried OnFirstWindowOpen and the custom dialog with an input, but couldn't quite get it to act the way I wanted it to. I ended up creating a separate search layout. please refer to this ticket:

http://www.experts-exchange.com/Software/Apple_Software/Filemaker_Pro/Q_28403660.html
0
 

Author Closing Comment

by:rmartes
ID: 39978118
Very helpful!
0
 
LVL 25

Expert Comment

by:Will Loving
ID: 39978242
Well, as I noted in the other question, if you went to a different layout not based on Employees, ran a Custom Dialog to get the SSN (use a Global field somewhere for the Input field), went into Find Mode, THEN switched layouts to Employees you could then run the Find without having to load Employees into Browse.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Copy Address, city ,satste zip from one lay out to another 14 100
Primary 1 80
Filemaker Pro 13 Adv - Label printing 17 316
Job Transaction Field totals 6 55
Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question