Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Globals in a header


spb

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

Recommended Posts

This may not be the right place for this, but I don't see a Layout forum. This involves scripted finds, so I'm posting it here.

I'd like to put a global field on a layout where the user would enter a find keyword, then click a go button. This would run a script that sets ten fields to the global contents in ten find requests, runs the find, sorts, and clears the global.

My proiblem is that I'd like to place this field in the header of a list layout. But it looks like global fields in a list header cannot be entered. IThis will work in the header of a standard layout, but not list!

I'm sure this has come up before. Is there a workaround, or some other way to get the same job done?

Steve Brown

Link to comment
Share on other sites

Nothing can be entered in any field in the header when in List view; it isn't just limited to global fields.

You could create a "Find" button that activates a script that takes the user to a special layout with the global field, pauses so that they can fill the field in (you may want to clear the field before the pause), then performs the find and returns to the original layout.

That's what I would probably do, but then, I get weird sometimes, so...

Link to comment
Share on other sites

Hi,

You're in Form view here, right ?

I think Steve wants to stay in List Mode. That"s why I suggested this workaround with a "g_searchkey" field in the body B)

- as long as the line itself

- with allow editiong unselected

- formated as a Menu, List, or checkbox

- background* (the other fields in the body must be other than transparent)

Then a script :

Go to Record (first)*

Go to field ""g_searchkey"

...and a find button right next the global field in the header.

* Forgot this step in the sample...

Link to comment
Share on other sites

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