I have the following parameter query.
SELECT ENLSSN.EP_SSN, ENLSSN.COMPONENT_CD, ENLSSN.PAY_GRADE_ID, ENLSSN.RECSTA_CD, ENLSSN.SEX_CATEGORY_CD, ENLSSN.STRENGTH_CAT_CD, ENLSSN.UIC, ENLSSN.PMOS_CD
FROM ENLSSN
WHERE (((ENLSSN.EP_SSN)=[ENTER ENLISTED SSN]));
Problem is, I need the query to prompt the user "No Records Found" if no match is found against the input data:
Any help will be greatly appreciated.
V/r,
SELECT ENLSSN.EP_SSN, ENLSSN.COMPONENT_CD, ENLSSN.PAY_GRADE_ID, ENLSSN.RECSTA_CD, ENLSSN.SEX_CATEGORY_CD, ENLSSN.STRENGTH_CAT_CD, ENLSSN.UIC, ENLSSN.PMOS_CD
FROM ENLSSN
WHERE (((ENLSSN.EP_SSN)=[ENTER ENLISTED SSN]));
Problem is, I need the query to prompt the user "No Records Found" if no match is found against the input data:
Any help will be greatly appreciated.
V/r,