I've created a form with its entire field locked. Purpose of the form is to copy certain fields w/o someone accidently changing its information from the table. How do I create an expression that counts the number of "-" and then inserts characters to the front of the string? Also, do I need to create and unbound text field in the form so that it can get manipulated by the expression?
if string F1DS1SDFCFA = "250-2-1"
Count the number of "-", if the number = 2, concatenate "VT1-" to the front of the string. If else send the string along w/o any changes.
string F1DS1SDFCFAu = "VT1-250-2-1"
if string F1DS1SDFCFA = "250-2-1"
Count the number of "-", if the number = 2, concatenate "VT1-" to the front of the string. If else send the string along w/o any changes.
string F1DS1SDFCFAu = "VT1-250-2-1"