Prevent string to return date

Mic
New Member

Hi,

I have an expression of a conditional concatenation that if true returns a string but Appsheet turn this string into a date which produce an error. Here is a screenshot of the situation :

Normal :
3X_4_f_4f4a8a24a7f5b506bb1bbbf6261f103a426822b6.jpeg

Observations :

  • All the other conditions return a string (“20-30”, “30-40”, …)
  • All the related columns type are “Text” (string). Nothing is set to read or post a date

Any idea how to prevent this ? I had to search so long just for that . For now I will just modify all the texts to prevent Appsheet to transform into a date.

Thanks for any input. Best regards, Mic

Solved Solved
0 3 225
1 ACCEPTED SOLUTION

That’s a way !
For now I added a “p” in the string (“p10-20”) and changed the other formula accordingly.

Thanks for your input. Mic

View solution in original post

3 REPLIES 3

May be not very elegant , but for those strings that get converted to date, you could use another concatenate statement such as

CONCATENATE(“10-”,“20”)

That’s a way !
For now I added a “p” in the string (“p10-20”) and changed the other formula accordingly.

Thanks for your input. Mic

Nice. Got it. You are welcome. Yes , there are many times different interesting approaches to solve a problem.

Top Labels in this Space