Prev: Basic INSERT question
Next: subforms
From: mlev on 5 Mar 2010 17:07 In the form, users may enter alphanumerical data. The only special characters I want to allow are periods (.) and hyphens (-). How can I modify this validation rule to allow a hyphen? Rule is: Is Null Or Not Like "*[!((a-z) or (0-9) or (.))]*"
From: Marshall Barton on 6 Mar 2010 10:19 mlev wrote: >In the form, users may enter alphanumerical data. The only special >characters I want to allow are periods (.) and hyphens (-). > >How can I modify this validation rule to allow a hyphen? Rule is: > > Is Null Or Not Like "*[!((a-z) or (0-9) or (.))]*" > Try using: Is Null Or Not Like "*[!a-z0-9.-]*" -- Marsh MVP [MS Access]
|
Pages: 1 Prev: Basic INSERT question Next: subforms |