Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradapter sees date type fields as character
Message
De
08/08/2009 10:12:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/08/2009 07:08:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01416869
Message ID:
01416871
Vues:
93
>SQLexpress 2008, ODBC, Sqlserver Native Client 10.0, VFP9 SP1
>
>a) SQLEXEC(nhandle, "select ....","tempcurs") returns the DATE type fields as Character
>b) When I build a cursoradapter from an SQL table characterizes (translates) the DATE type fields as CHARACTER.
>Is this normal? Is it a bug?

No, it returns it as a datetime (maybe you have a cursorschema in your class setting it to character?).
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform