Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex Select
Message
From
25/08/2000 19:33:28
 
 
To
25/08/2000 18:30:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00409477
Message ID:
00409482
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform