Jump to content
Server Maintenance This Week. ×

windowmode


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

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

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.