Maggie Barr
Board Regular
- Joined
- Jan 28, 2014
- Messages
- 188
Hello, and thank you in advance if you can help.
I have a query where I created a column "Outside_Safe_Dates" where if an observation date is outside a safe date range it puts "Outside". That is working fine, but now I want to filter out those that are "Outside", so in that column, under criteria, I put Not "Outside" and it returned an empty data set. When I went back to the design, it had changed it to <> "Outside". I tried other variations like using parentheses, and it always returns the blank data. I then thought perhaps I couldn't run it within the same query that the column was created in, so I made a query of the query and the same thing happens. Does anyone have an idea on why this may be happening? I think it could be that it isn't a physical table that is the base of my query, but I am new to access, so I am not sure. I have a large dataset, so I want to minimize the number of physical tables I need to load. To do much more, I would have to create another database to develop it much further, and I would like to avoid that if I can.
Thank you for your time,
Maggie
I have a query where I created a column "Outside_Safe_Dates" where if an observation date is outside a safe date range it puts "Outside". That is working fine, but now I want to filter out those that are "Outside", so in that column, under criteria, I put Not "Outside" and it returned an empty data set. When I went back to the design, it had changed it to <> "Outside". I tried other variations like using parentheses, and it always returns the blank data. I then thought perhaps I couldn't run it within the same query that the column was created in, so I made a query of the query and the same thing happens. Does anyone have an idea on why this may be happening? I think it could be that it isn't a physical table that is the base of my query, but I am new to access, so I am not sure. I have a large dataset, so I want to minimize the number of physical tables I need to load. To do much more, I would have to create another database to develop it much further, and I would like to avoid that if I can.
Thank you for your time,
Maggie