This is an excellent resource:
http://www.mvps.org/access/forms/frm0031.htm
http://www.mvps.org/access/queries/qry0001.htm
Also, IsNull is one word, not two words.
Finally, for a post a while back, "Me" is shorthand for the form or report
that the code is running on. If you have a form open called Form1 you can
refer to that form by the code Forms!Form1. However, if the code is on Form1,
you can shorten the previous to just Me. Me only works in VBA, it doesn't
work in the Control Source of calculated controls.
The "!" after the Me is just a separator between components making up the
path to the object being referred to.
HTH,
Ryan---
--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.
"Melissa" wrote:
> Please help! I'm very confused about using quotation marks in the where
> condition of code. I'm trying to figure it out. Could somebody please let
> me know what's wrong with the following line of code? All my database is
> returning is when Status Is Null.
>
> "Status < '5' & ""Or"" & Status Is Null"
>
> What it should give me is all conditions where Status < 5 or where Status Is
> Null.
> --
> Thanks.