Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error list
Message
 
To
18/06/2009 23:37:33
Muthu Vel
Sty Company
India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01407069
Message ID:
01407077
Views:
40
>I have a "student_admi.dbf" with fields 1. id 2. name 3. dob 4. category 5. phymark 6. mathsmark 6.optionalmark, having total 1000 records. I want to prepare the error list of the students based on the "dob" field whose age above 21 years as on 1st July 2009.
>
>
>How to write code?
SELECT * FROM student_admi WHERE dob<GOMONTH((DATE(2009,07,01)),-12*21) AND !EMPTY(dob)
Brandon Harker
Sebae Data Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform