I have two tables imtemaster and calibrationcertificate i have joined based on imtenumber field of both tables
SQL VIEW
SELECT DISTINCTROW IMTEMASTER.IMTENUMBER, CALIBRATIONCERTIFICATE.IMTENUMBER, CALIBRATIONCERTIFICATE.CALDATE, CALIBRATIONCERTIFICATE.STATUSCER,
FROM IMTEMASTER LEFT JOIN CALIBRATIONCERTIFICATE ON IMTEMASTER.IMTENUMBER = CALIBRATIONCERTIFICATE.IMTENUMBER;
now i have a form in that i have a combo box " yearsel " in reportform if i select the year it should not show the list of in which
if field "caldate" year is less than the "yearsel" and "statuscer" contains "scrap" it should not show in the list. it should show other data
HOW DO I MATCH ONLY YEAR 2000,2001,2002.... ETC
TO THE CALDATE FIELD YEAR AND TAKE THE REPORT
how it can be done can any one help
SQL VIEW
SELECT DISTINCTROW IMTEMASTER.IMTENUMBER, CALIBRATIONCERTIFICATE.IMTENUMBER, CALIBRATIONCERTIFICATE.CALDATE, CALIBRATIONCERTIFICATE.STATUSCER,
FROM IMTEMASTER LEFT JOIN CALIBRATIONCERTIFICATE ON IMTEMASTER.IMTENUMBER = CALIBRATIONCERTIFICATE.IMTENUMBER;
now i have a form in that i have a combo box " yearsel " in reportform if i select the year it should not show the list of in which
if field "caldate" year is less than the "yearsel" and "statuscer" contains "scrap" it should not show in the list. it should show other data
HOW DO I MATCH ONLY YEAR 2000,2001,2002.... ETC
TO THE CALDATE FIELD YEAR AND TAKE THE REPORT
how it can be done can any one help