The following code changes the recordset of a form
The recordsource part works but not the null part. I'm not sure if I can assign it a null or have to use record count. Any help would be greatly appreciated.
Sydney
Code:
Dim strRecordSource as String
strRecordSource = "Select * from qryvcqWIPCurrent WHERE StatusCode = " & Forms!frmFilterCriteria!cboStatus
If Isnull(strRecordSource) then
msgbox "blah"
else
Me.RecordSource = strRecordSource
end if
Sydney