>Hi Bob,
>
>It is incredible,
>
>this problem has filled up all the forum of VFP from years, but the M-VFP-T does not think it fundamental.
>On SQL Server date type not exist, then VFP developer it drives crazy.
>
>Only solution possible (skeleton code):
>
>DEFINE CLASS dateBox AS textbox
> controlSource='this.dateSource'
> _ControlSource='' && it replaces controlSource, set to ControlSourceName type datetime
> value={}
>PROCEDURE dateSource_Access
> RETURN TTOD(EVALUATE(this._ControlSource))
>PROCEDURE dateSource_Assign(dValue)
> STORE DTOT(m.dValue) TO (this._ControlSource)
>ENDDEFINE
>
>Fabio
Fabio,
I suspect this would ever work.
Never be sure this is the only solution, actually there are others :) Check FoxyClasses for example.
Cetin