DannA Posted November 27, 2001 Posted November 27, 2001 I want to create my own "Find Form" to validate some fields before submitting them in the actual Find layout... After validation, I'm not sure how to transfer the user input from the fields on my form to the actual fields to find. The user could perform a find on various fields: Date, 1stName, LastName, Dept, JobTitle. Is it best to use a loop and copy/paste each field to the find layout? Is there a better way, what is the difference between Set field, Insert Calculated... and Paste?? Thanks for the help --Dan
The Bridge Posted November 27, 2001 Posted November 27, 2001 quote: Originally posted by DannyA: After validation, I'm not sure how to transfer the user input from the fields on my form to the actual fields to find. The user could perform a find on various fields: Date, 1stName, LastName, Dept, JobTitle. Is it best to use a loop and copy/paste each field to the find layout? Is there a better way, what is the difference between Set field, Insert Calculated... and Paste?? I'd be inclined to create corresponding global fields for each of the fields you'd be searching. In the script I would enter Find mode, use Set Field to set the search fields to the values contained in the global fields, and then Perform Find. Set Field has an advantage over the other options in that the field specified does not have to be on the current layout, plus Set Field will not replace the contents of the clipboard, which may just contain information the user wants to keep in there. Hope this helps.
danjacoby Posted November 28, 2001 Posted November 28, 2001 One addendum -- after performing the find, have the script also clear all the global fields. That way, they'll be blank for the next find.
DannA Posted November 28, 2001 Author Posted November 28, 2001 Thanks for the help I'll get back to work!! --Dan
Recommended Posts
This topic is 8401 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