General information
Category:
Coding, syntax & commands
Francisco,
Examine the data type of the return value of the function (i.e. CTOT() --> datetime data type). VFP cannot add or concatenate two date time values.
Concatenation is only for strings. Addition is only for numbers. Thus, you need a numeric value that represents your date time value. You may then add or perform some other numeric computation that makes sense for your equation.
Once you have this resulting numeric value, then you may convert it back to a date time value.
I will attempt to find a work-around for you.
Best Regards,
Larry Rix
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only