Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SPT with date criteria
Message
De
27/09/2005 11:28:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/09/2005 11:24:03
Steven Dyke
Safran Seats USA
Texas, États-Unis
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 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01053462
Message ID:
01053467
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>I am trying to use SPT to get a result set based on greater than a date.
>
>The remote table is an AS400 file which stores a date(vacsdate) as 2005-12-01.
>
>I want my SPT select statement to use Where vacsdate > myDate. a SPT select on the entire file displays the date in a normal format, so I know VFP can interpret the AS400 date.

m.CheckDate = date()
SQLExec(m.lnHandle,"select * from myTable where vacsdate > ?m.CheckDate","myResult")

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