I have made a query that one of my criteria is a date field. When I run my query that criteria doesn't work right. If I put "Is Not Null" it gets all of them, but if I put a specific date as the criteria or Now() then it pulls up nothing when I know that date is there.
That field's date is not actually entered manually. I have code setup to update the date in the field when another field is changed in a form. So I went into the table to this date field and manually reentered some of them using the same date and these work using my querie's date criteria! What's up with that?
Does that date that is entered by VBA have some kind of different property than a manually entered date? How can I get around this so that I can use it as criteria in my query? That was the whole purpose of making this date field.
That field's date is not actually entered manually. I have code setup to update the date in the field when another field is changed in a form. So I went into the table to this date field and manually reentered some of them using the same date and these work using my querie's date criteria! What's up with that?
Does that date that is entered by VBA have some kind of different property than a manually entered date? How can I get around this so that I can use it as criteria in my query? That was the whole purpose of making this date field.