ThinWhiteDude
Technical User
Am having some trouble with syntax on DoCmd.OpenForm and using a where clause. I would like to open the form and show only the records where the ysnPlantMgrReviewed field is equal to No. Here’s what I have tried, and is not working:
I don't get an error message, just no data when I should.
This is the first time I’ve tried to use the where condition with a Boolean field, so I’m lumbering along here. Couldn’t find this through various searches on the forums, not to say it isn’t there, just might not have known quite how to search for it.
Anyhow, any help will be greatly appreciated,
TWD
Code:
DoCmd.OpenForm "frmObservations", acNormal, , "ysnPlantMgrReviewed=0"
This is the first time I’ve tried to use the where condition with a Boolean field, so I’m lumbering along here. Couldn’t find this through various searches on the forums, not to say it isn’t there, just might not have known quite how to search for it.
Anyhow, any help will be greatly appreciated,
TWD