Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get year form date
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01043263
Message ID:
01043280
Views:
23
*** Check if the value of the combo is numeric type
lcYearWant = thisform.tyear.value

SELECT Summer.Category, Summer.Date, Student.*;
       FROM Summer ;
       INNER JOIN Student ON  Summer.Code = Student.Code;
       WHERE YEAR(Summer.Date) = m.lcYearWant;
       ORDER BY Summer.Lcode, Summer.Sec;
INTO CURSOR summert
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform