This question is locked. New answers and comments are not allowed.
Hi,
I have an important SQLServer 2008 project which is giving issues with unsupported data types. A number of columns are of the data type 'DATE' which OpenAccess maps to System.String. This is causing a issues in the controls and code for the web application and I don't want to changes the data type in the tables to DateTime and then try to rebuild the OA layer (many problems with this).
I see in the OA Backend Configuration Settings dialog that it is possible to change the mapped types but DATE does not appear in the list of SQL types to pick from (which I guesss is why OA defaults the conversion to string). Is it possible to add the DATE SQLServer data type to the drop down to pick from to allow me to map this to a System.DateTime? Or is this hardcoded into one of the DLLs?
I'm happy to do this as SQLServer implicitly converts a DateTime to a Date and stores the correct values.
Regards,
Jonathan
I have an important SQLServer 2008 project which is giving issues with unsupported data types. A number of columns are of the data type 'DATE' which OpenAccess maps to System.String. This is causing a issues in the controls and code for the web application and I don't want to changes the data type in the tables to DateTime and then try to rebuild the OA layer (many problems with this).
I see in the OA Backend Configuration Settings dialog that it is possible to change the mapped types but DATE does not appear in the list of SQL types to pick from (which I guesss is why OA defaults the conversion to string). Is it possible to add the DATE SQLServer data type to the drop down to pick from to allow me to map this to a System.DateTime? Or is this hardcoded into one of the DLLs?
I'm happy to do this as SQLServer implicitly converts a DateTime to a Date and stores the correct values.
Regards,
Jonathan