Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access data base datetime query - what datetime format??
Message
 
À
24/07/2003 09:48:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00813055
Message ID:
00813253
Vues:
7
>>I am doing ODBC queries on an Access database. Everything works but I don't know how to format my dates in my VFP code in the SQL query. If I want to get all records where indate > mydate (where indate is an Access datetime field and mydate is a my var in the SQL) how do I format mydate? I tried dtoc() and ttoc() with and without the ,1 parameter but no luck.
>>
>>TIA
>>John.
>
>where indate > ?mydate
>Cetin

Cetin,
thanks a million, that's what I needed. One more question. Do you know of any place where I can find some helpful hints on running SQLs on Access tables from VFP? I'm new at this but I have to now interface my VFP program with another that is in Access. If I could just find a bunch of examples I would be in great shape. The ODBC is working just fine. I just need some SQL examples.

John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform