rmartes
asked on
File Maker Pro Adv: Bypass browse mode on open
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.
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.
Also, you can setup what happens when the file opens under File > File Options (changing to a certain layout and running scripts).
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.)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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:
https://www.experts-exchange.com/questions/28403660/FileMaker-Perform-find-on-unrelated-table-field.html
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:
https://www.experts-exchange.com/questions/28403660/FileMaker-Perform-find-on-unrelated-table-field.html
ASKER
Very helpful!
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.
Move/Resize Window[ Current Window; Height: -200; Width: -200; Top: 0; Left: 0]
Enter Find Mode [ ]
Adjust Window [ Resize to Fit ]