This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Newbie question.
I want to add a new column and for every row put one string value. For example, every row would have the value "Apple." How do I write this syntax in the Formula tool?
Solved! Go to Solution.
I have the same question, except the interface has changed and the solution shown generates an error. I am using the Formula tool and getting the error -- "The field "" is not contained in the record. I also tried adding ToString('DUMMY'). Thanks in advance!
I figured out the problem was that I had not named the column. Once I entered a name, it worked.
To where did you enter the column name? I am having the same problem that you were able to solve.
Hi AMaletta
You may have figured this out already but in the interface you click the Select Column dropdown and click Add column, in the same space you can then type the name of the column
WOW you guys are making my life so easy when this was spoken about 3 years ago - THANK YOU ALL!
How to do the same thing in Formula In DB?
In the Query include the line:
'Apple' as "Fruit"
to create a column called Fruit with the value Apple inside of it for all the rows
I found this helpful. Thank you