DLM Posted October 7, 2013 Posted October 7, 2013 Hello all, I've FM 5.5 for Mac. I've a text field where I want to enter a validation by calculation where users are unable to enter any spaces, commas, dashes, periods or semicolons. What calculation may I use? Best,
eos Posted October 7, 2013 Posted October 7, 2013 I've FM 5.5 for Mac. Your profile says FM 12. Which one's correct?
comment Posted October 7, 2013 Posted October 7, 2013 users are unable to enter any spaces, commas, dashes, periods or semicolons. Try = not PaternCount ( YourField, " " ) and not PaternCount ( YourField, "," ) and so on...
DLM Posted October 21, 2013 Author Posted October 21, 2013 Try = not PaternCount ( YourField, " " ) and not PaternCount ( YourField, "," ) and so on... Thanks Comment, worked perfectly! Your profile says FM 12. Which one's correct? Hi Eos, I've both but this particular DB I was working on was on 5.5. Comment's formula did the trick, thanks anyhow. Best!
Lee Smith Posted October 21, 2013 Posted October 21, 2013 DLM, Hi Eos, I've both but this particular DB I was working on was on 5.5. Perfect.
Aussie John Posted October 21, 2013 Posted October 21, 2013 As a suggestion you could use the calculation option and the filter command to show only acceptable characters. This has the advantage of being more transparent to the user without an annoying validation dialog.
doughemi Posted October 21, 2013 Posted October 21, 2013 As a suggestion you could use the calculation option and the filter command to show only acceptable characters. This has the advantage of being more transparent to the user without an annoying validation dialog. Alas, filter wasn't available in FM5.5; it debuted in FM 7
Recommended Posts
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