Joseph31 Posted January 3, 2005 Posted January 3, 2005 Hello everyone, I have two fields: FirstName & LastName I can do a normal search, but what I would like to do is to beable to search for a name in both fields at one. ie: Ruth Chris well some one might put that person in the system with the first name being Chris not Ruth. Is there a way to make a script on a search that will search for any occurance of Chris? Thank you
Fitch Posted January 3, 2005 Posted January 3, 2005 There are a couple of approaches you might use. Here is a fairly simple one: first, take the user to a layout that has a global field on it, and a button attached to a script, and the script would look something like this... Enter Find Mode Set Field( NameLast, yourGlobalField ) New request Set Field( NameFirst, yourGlobalField ) Perform Find
Joseph31 Posted January 4, 2005 Author Posted January 4, 2005 Ok, so does this look correct? Enter Find Mode [Pause] Set Field [File_login::Login_LastName; File_Login_Welcome_Page::Login_Search_Field] New Record/Request Set Field [File_login::Login_FirstName; File_Login_Welcome_Page::Login_Search_Field] Perform Find[] The Welcome page has the gobal field on it with a button with this script but it does not work? Please explain
Fitch Posted January 6, 2005 Posted January 6, 2005 Take out the Pause in the first step. Also make sure that both the first or last step leave the Restore option UNchecked.
Recommended Posts
This topic is 7330 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