>I am trying to build a datetime() variable by joining a pure date field with a character
>
>cInicial = CTOT( horarios.date + " " + "07:00")
>
>I need some help to achieve it, because there are errors
>
>Moises
You first would need to convert date to string, then add time as a string, then convert back to datetime.
In other words, the values you're summing have to be of the same type (or compatible type).
If it's not broken, fix it until it is.
My Blog