Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove the Time from a DateTime
Message
De
25/11/2004 07:59:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/11/2004 06:33:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Oracle
Divers
Thread ID:
00964641
Message ID:
00964655
Vues:
9
>I am using Oracle as a backend with SQL pass thru.
>When you do this all date fields are automatically datetime.
>
>Is there any easy way I can remove the "time" portion in selected text boxes
>so the user does not need to see and enter this part.
>
>I saw SET SECONDS OFF which removes the seconds. But I'm looking for a SET TIME OFF or inputmask expression that can do this..
>
>BR
>Tim

Tim,
As I read you're using VFP8. Then use CursorAdapter. Set datatype to Date in cursorschema and instruct CursorFill to use the schema (1st parameter true).
PS: For a sample with SQL server check Thread #940852
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