-- sql server t-sql code >>>select convert(smalldatetime, convert(varchar, date_col, 101)) as date_col...>>>and then deal with date display/calculations in the VFP code, e.g., if you have to calculate date difference between dates, etc. Of course, if you need that kind of calculation, you could also let SQL Server handle that, as well.
** vfp code >SQLEXEC(lnHandle, "select convert(smalldatetime, convert(varchar, date_col, 101)) as date_col, etc...")But I already changed my mind <g>. I decided not to convert the datatime to date because instead of being able to do "Select *" I would have to now specify each field/column. I thought it would be better (easier <g>) if I just deal with the DateTime type field on the VFP side. Basically, using function ttod() I can manipulate the value and show only the Date portion of it.