Quote Originally Posted by Vincent Oorsprong View Post
Oscar,

Why would you code this in your DataFlex application?

For example; The DF_DRIVER_MAP_DFDATE_TO_SQLTYPE documentation says "Determines which SQL native data type will be used on the SQL back end, when a new DataFlex Date column is created.". Are you creating new tables or adding columns to existing tables through your application?

Hi Vincent... yes, that is exactly what I do... I have a maintenance program that add/modifies tables and columns that runs from my InstallShield setup program.

The help also sais the following, but the values cause an error.
Values{DataType} can be one of:
Microsoft SQL Server: SQL_TYPE_DATE (Date), SQL_TYPE_TIMESTAMP (DateTime)

Regards,
Oscar