Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex Select
Message
De
25/08/2000 19:33:28
 
 
À
25/08/2000 18:30:43
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
Titre:
Divers
Thread ID:
00409477
Message ID:
00409482
Vues:
19
>I have a table of drawing numbers. I have three fields: dwgno, start date, act start date. I want to do a report on delinquent drawings. I need a Select statement to give me all the dwg's that have not been started or were started late and all dwg's due within two weeks I need this in a scope of one week ago to two weeks in advance. Thanks for your help.

assuming start date means due date...
SELECT * FROM drawings ;
WHERE ;
  ( EMPTY(actstartdate) OR actstartdate > startdate ) ; 
  AND BETWEEN(startdate, DATE()-7, DATE()+14) ;
INTO CURSOR mycursor
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform