Newbies vagabond Posted April 9, 2003 Newbies Share Posted April 9, 2003 hi! I would like to perform a search with a script that looks in all fields and shows only the record corresponding to the searh condition. e.g: I have search field and if I write a number in it the script searches all the fields and retrievs only the record that is holding this number. so, how do I do it? Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted April 9, 2003 Share Posted April 9, 2003 Hi, Use the as many "New Request" as the number of fields you are searching for, within the script lines. Link to comment Share on other sites More sharing options...
danjacoby Posted April 9, 2003 Share Posted April 9, 2003 Do you mean you want to search in every field of every record for one number? Or do you just want to search every record to find those in which that number is in one particular field? If the latter, a simple search is all you need. If the former, create a global field in which the "search number" goes. Then write a script: Enter Find Mode -- uncheck "Restore" and "Pause" Set Field (Field1, GlobalField) -- this places the contents of the global field into one field New Record/Request/Page Set Field (Field2, GlobalField) etc., until all fields have been filled in, each in its own request. Perform Find -- make sure "Restore" is unchecked. That'll do it. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7851 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