Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date only format
Message
De
08/04/2003 06:37:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/04/2003 06:21:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00774834
Message ID:
00775026
Vues:
10
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform