Thread: [Solved] Test Field Contents
View Single Post
 
Old 11-13-2020, 02:08 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The behaviour is by design - each '?' represent exactly one character, but the '*' represents any number of characters. The question is why are you using such a construction to test whether a field is empty, when that should be done with code like:
Field is {IF{REF textFormFieldName}<> " " "not "}empty
A field that contains at least six characters cannot be empty...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote