Forum Discussion

ChrisChris's avatar
ChrisChris
Qrew Assistant Captain
8 years ago

Re: How to create a if statement using the first 4 char of a text field

assuming the string you're checking is text, the formula field may go something like:

if(

begins([field],"7083"),"083",

begins([field],"083"),"083"

)

The Begin() function works on text fields, so if you're comparing numbers, you'd have to use the ToText() fuction around the expression.


This link may help you with formula functions:

https://login.quickbase.com/db/6ewwzuuj?a=q&qid=6


No RepliesBe the first to reply