OK...hopefully I can explain this clearly.
I have two tables, we'll use Table 1 and Table 2. Each table has a date field, Date 1 and Date 2. Since I'm not experienced with Code, I would prefer to do this in an Expression.
I need to find all records in [Table 2]![Date 2] field that comes within 5 days before or 5 days after the date in [Table 1]![Date 1].
I tried to build the following expression in the criteria under [Table 2]![Date 2].
Between DateAdd("d", -5, [Table 1]![Date 1]) AND DateAdd("d", 5, [Table 1]![Date 1].
However that doesn't reveal any records, and I know there are some.
Any suggestions??
Thanks,
Shawn Stump
I have two tables, we'll use Table 1 and Table 2. Each table has a date field, Date 1 and Date 2. Since I'm not experienced with Code, I would prefer to do this in an Expression.
I need to find all records in [Table 2]![Date 2] field that comes within 5 days before or 5 days after the date in [Table 1]![Date 1].
I tried to build the following expression in the criteria under [Table 2]![Date 2].
Between DateAdd("d", -5, [Table 1]![Date 1]) AND DateAdd("d", 5, [Table 1]![Date 1].
However that doesn't reveal any records, and I know there are some.
Any suggestions??
Thanks,
Shawn Stump