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 229
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