Forum Discussion
DonLarson
6 years agoQrew Elite
Jonathan,
A QB if statement will escape when it hits the first True condition. Imagine a record where both are present, this will only get the first one.
I suggest exporting all the records and writing a short PHP script to go through the entire data set and change both.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
A QB if statement will escape when it hits the first True condition. Imagine a record where both are present, this will only get the first one.
I suggest exporting all the records and writing a short PHP script to go through the entire data set and change both.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
MarkShnier__You
Qrew Legend
6 years agotry this logic
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
var text ReplaceN =SearchAndReplace([Description of Service], "\n", "<br>")
SearchAndReplace($ReplaceN, "\r", "<br>")
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- JonathanHeuer6 years agoQrew CadetThanks Mark. I tried your suggestion and doesn't work. When you try saving the formula QB takes out the second escape.
------------------------------
Jonathan Heuer
------------------------------- MarkShnier__You6 years ago
Qrew Legend
Can you try this
var text ReplaceN =SearchAndReplace([Description of Service], "\\n", "<br>")
SearchAndReplace($ReplaceN, "\\r", "<br>")
ie try a double backslash
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------