Can anyone tell what is wrong with this select statement?
Select Statement:
***************************************************
SELECT [Primary Number] FROM [Vital Stats] WHERE [Title-D] IS NULL OR [First Name-D] IS NULL OR
[Last Name-D] IS NULL OR [Inform Title] IS NULL OR [Inform first Name] IS NULL OR
[Inform Last Name] IS NULL OR [Address-infor-1] IS NULL OR [City/town-infor] IS NULL OR
[State-infor] IS NULL OR [ZipCode-infor] IS NULL OR [Inf RevRel] IS NULL OR [Director Name] IS NULL IN(selectedCases)
***************************************************
I'm using VB .NET and the data is being pulled (or should be pulled I should say) from an ACCESS Database
I keep getting this error message:
"Invalid use of IS operator in query expression [Title-D] IS NULL OR [First Name-D] IS NULL OR...."
I want to pull the records that contain a NULL value in any of those fields listed in the select statement.
Any suggestion is valid, since I can't get it to work.
Thank you,
silvionr