TonyScarpelli
Programmer
I have a SQL Server table that came from a FoxPro table.
The Date fields are set as SmallDateTime and when listed show up as MM/DD/YYYY.
In the FoxPro application STRICTDATE is set to 0.
When I pull the SQL table into a FoxPro cursor, the dates show up as MM/DD/YYYY HH:MM:SS or as a Datetime field.
When I show these fields on a form, they display as MM/DD/YYYY HH:MM:SS, I don't want the time part, I just want MM/DD/YYYY.
The textbox control's properties I have on the form show the Inputmask as ##/##/#### and there is no Format, but when run, the textbox still has the time in it.
I've tried setting the format to ##/##/####, 99/99/9999 and the maxlength to 10 with no change.
Is there a way to set this control so that only the date shows and not the time?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
The Date fields are set as SmallDateTime and when listed show up as MM/DD/YYYY.
In the FoxPro application STRICTDATE is set to 0.
When I pull the SQL table into a FoxPro cursor, the dates show up as MM/DD/YYYY HH:MM:SS or as a Datetime field.
When I show these fields on a form, they display as MM/DD/YYYY HH:MM:SS, I don't want the time part, I just want MM/DD/YYYY.
The textbox control's properties I have on the form show the Inputmask as ##/##/#### and there is no Format, but when run, the textbox still has the time in it.
I've tried setting the format to ##/##/####, 99/99/9999 and the maxlength to 10 with no change.
Is there a way to set this control so that only the date shows and not the time?
Thanks.
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102