Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

I am trying to set a field with the window mode so my users won't enter find criteria in browse mode and visa versa. I set a calculation that stated the following:

Case(

Get(WindowMode)=0;"BROWSE";

Get(WindowMode)=2;"PREVIEW";

"FIND")

It shows the proper message in browse and preview but nothing in find. Am I doing something wrong? how can I fix this?

Thanks in advance

Posted

Calculations don't evaluate in Find Mode. Why not just test for which mode you're in before running crucial scripts or create a separate find layout, so it's obvious which mode you're in?

Posted

Thanks for responding Queue.

I am confused though. If calcs don't work in find mode then why does the windowmode script step say that it returns a 1 if in find mode?

I thought about the separate layout but I was hoping that 7 would make it possible to avoid that.

Posted

It works in a script step, but not in a calculated field. You can test If [Get(WindowMode) = 1] in a script, but calculations only evaluate in Browse and Preview Modes.

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