spb Posted April 13, 2003 Posted April 13, 2003 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
Ugo DI LUCA Posted April 13, 2003 Posted April 13, 2003 Hi Steve, Here's a "little" workaround that may help... FindsInHeader.zip
danjacoby Posted April 14, 2003 Posted April 14, 2003 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...
cjaeger Posted April 14, 2003 Posted April 14, 2003 make your field a button wtih a script show as form go to field searchfield, select add a second button for the find script, including a "show as form" script step at he end
Ugo DI LUCA Posted April 14, 2003 Posted April 14, 2003 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 - 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...
Recommended Posts
This topic is 7893 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 accountSign in
Already have an account? Sign in here.
Sign In Now