Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Between Statement
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00838116
Message ID:
00838133
Vues:
31
Neil,

Maybe there are no records for 'pdmlog.type="Change" and pdmlog.database="COST2"' for that period? To verify that try from command window
SELECT mainkey FROM pdmlog + ;
  WHERE pdmlog.type="Change" and pdmlog.database="COST2" ;
  ORDER BY date
and check if there're records from {^2003-04-01} TO {^2003-04-02})

>Hi Sergy,
>
>It gives me no records. If I take the between statement out of the SQL I get the correct records but obviously not between the 2 dates. I did try this manually by setting a filter against the cursor:
>
>
>select result
>set filter to Between(date,{^2003-04-01},{^2003-04-02})
>
>
>This worked! But as soon as I use the syntax on my previous thread I am getting no records found.
>
>Many Thanks
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform