the walker Posted January 9, 2003 Posted January 9, 2003 i am having a few probs find a way to compare to text fields i want my users to beable to enter text in to a global field by means of a check box and then have a script that will loop through the records checking for the text or 'checked boxes in another field and remove the text in the second field does any one now how to do this or have any clues how it might be done cheers Walker
andygaunt Posted January 9, 2003 Posted January 9, 2003 In your loop If ["PatternCount(The Field you want to check, Your Global Field)"] Set Field ["The field you want to check","Substitute (The field you want to check, Your Global Field, "") End If Try on a sample database, or on a single record before you try it on your entire database HTH
the walker Posted January 9, 2003 Author Posted January 9, 2003 that looks cool, will try it out and get back to you
the walker Posted January 10, 2003 Author Posted January 10, 2003 i have tried, it works great i had to change each of the fields at the start of the script to have a 'return' at the start and end of the field, to get them to match up and stop any mismatched substitutions thank you for your help
Recommended Posts
This topic is 7988 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