And you have it in the wrong argument.
I'm sorry, I don't quite understand what you're saying ? SQL wrong ? It works - If I add another comma after acNormal I get error 3075: "Synthax error in query expression SELECT * FROM etc.
Also, SQL statements do not SELECT from form, they SELECT from tables and queries.
My bad, example posted is wrong. I meant "SELECT * FROM MyTable WHERE MyTable_Field IS NULL AND MyTable_AnotherField IS NOT NULL"
Did you mean that correct SQL synthax would be :
Code:
DoCmd.OpenForm "MyForm", acNormal,, "SELECT * FROM MyTable WHERE "MyTable_Field IS NULL AND MyTable_AnotherField IS NOT NULL" "