Hi Robert,
You are right. Now I see there are methods on the datatype for LogicalToODBC and ODBCToLogical.
But I insist that the methods LogicalTo*, ODBCTo* and DisplayTo* should not be called directly. Although they will work, the correct way of dealing with data type conversions are using normal functions such as $ZDateH() with the proper formatting code.
If one wants to store names in a format where the surname should be separated from the name by a comma, I would instead simply use %String for that or subclass it to create a new datatype that will make sure there is a comma in there (although I think this is too much).
Kind regards,
AS
- Log in to post comments
