Examinus Posted January 7, 2009 Posted January 7, 2009 (edited) Hello, Is there a way to either validate a field or write a script that removes spaces in FM7? I know the TrimAll feature would normally do this but it doesn't seem to be available in FM7. Is there a way to do this? Thanks. Edited January 7, 2009 by Guest
Søren Dyhr Posted January 7, 2009 Posted January 7, 2009 One way of doing it is this: http://www.briandunning.com/cf/904 --sd
Examinus Posted January 8, 2009 Author Posted January 8, 2009 Hi. Thanks for the reply. . I'm afraid I couldn't get it working though, so I did a bit of searching and ended up doing the following: Replace Field Contents [ Contact Data::Registration Number; Replace with calculation: Substitute ( Contact Data::Registration Number ; " " ; "" ) ] [ No dialog ]
Søren Dyhr Posted January 8, 2009 Posted January 8, 2009 If you don't wan't to mess with syntactical errors, could you have used: http://www.myfmbutler.com/index.lasso?p=422 To transfer it, since the heavy (but necessary) commenting makes it easier to make a typo. But Debi's method makes more comprehensive searches for all kinds of different non-letter or non-numbers, and convert it to a single space between each "word" --sd
Examinus Posted January 12, 2009 Author Posted January 12, 2009 I'll keep it in mind. Thanks very much for your help.
Recommended Posts
This topic is 5854 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