If I have a simple query
and I want to have the number of records as part of the recordset before I loop thru all of the records, what do I do?
wb
Code:
select STUDY_CONSENT_DATE, ENTRYFLAG, STUDY_PROTOCOL_VISIT_CODE
from dbedrn316.dbo.tblBLConsent c join dbedrn316.dbo.tblPELEMENT pe
on c.FID=pe.FORMID
where pe.DE_ID=1319
and STUDY_PARTICIPANT_ID=2065551212
and DELETEFLAG=0
and I want to have the number of records as part of the recordset before I loop thru all of the records, what do I do?
wb