Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a date value to an ADO recordset
Message
De
02/05/2003 11:47:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00784142
Message ID:
00784160
Vues:
32
>How can I send a date value to an ADO recordset? For example I got two date variables: date1 and date2 and I want to select only the records between these two dates.
>
>TIA,
>
>Enmanuel
oRs.Filter = 'DateField >= #'+;
  	Transform(Dtoc(date1,1),'@R 9999/99/99')+;
  	'# and DateField <= #'+;
  	Transform(Dtoc(date2,1),'@R 9999/99/99')+'#'
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