G
gmazza via AccessMonster.com
Hey there,
I am trying to concatenate a recordset as follows:
Set rs = CurrentDb.OpenRecordset("Select * from InclusionCriteria where
ClinicalTrialId = '" & study & "'" & " and Inactive = '" & True & "'")
It works without the last part:
& " and Inactive = '" & True & "'")
The Inactive field in my table is a Yes/No field so I just want the records
where Inactive = True.
What syntax am I getting wrong here?
Thanks in advance!
I am trying to concatenate a recordset as follows:
Set rs = CurrentDb.OpenRecordset("Select * from InclusionCriteria where
ClinicalTrialId = '" & study & "'" & " and Inactive = '" & True & "'")
It works without the last part:
& " and Inactive = '" & True & "'")
The Inactive field in my table is a Yes/No field so I just want the records
where Inactive = True.
What syntax am I getting wrong here?
Thanks in advance!