before the select statement and the red color is gone...
I'm still using B4A 1.7 (because of the possibility to include the debug informationen without debugger) and this version does not mark an undeclared variable, so I didn't see the problem on my IDE.
Both variants, my inconvenient long solution and the convenient short solution with the AHLocale library form corwin42 provide the same result for the german locale.
If you use both codes within another locale, the long solution maybe incorrect, but the AHLocale library should work (see attached sample).
Both variants, my inconvenient long solution and the convenient short solution with the AHLocale library form corwin42 provide the same result for the german locale.
If you use both codes within another locale, the long solution maybe incorrect, but the AHLocale library should work (see attached sample).