Hi All,
A strange thing just happened. I created a query that joins a few tables together and when designing it, it returned a set of 176 records. When I saved the query and opened the saved query again, it returned 0 records.
The design view still looks exactly the same and the SQL looks alright too. When I copy all the design view fields to a new empty query and I add all the required tables and relationships, this new query returns the correct amount of records (176) again. That is, until I save it. When I save it and open this new query again, it also returns zero records.
It seems Access does 'something' to my query which makes it slightly corrupt. It still looks ok in Design and SQL-view, but doesn't return any records anymore.
Has anyone here ever noticed similar behavior in MS Access (2007)? I am at a loss to understand what Access is doing to the query and to how to solve this. Maybe I could perform the query in two steps? But still: before saving it works fine...
Any help will be greatly appreciated.
Best regards,
Martijn Senden.
I love deadlines. I like the whooshing sound they make as they fly by.
- Douglas Adams -
A strange thing just happened. I created a query that joins a few tables together and when designing it, it returned a set of 176 records. When I saved the query and opened the saved query again, it returned 0 records.
The design view still looks exactly the same and the SQL looks alright too. When I copy all the design view fields to a new empty query and I add all the required tables and relationships, this new query returns the correct amount of records (176) again. That is, until I save it. When I save it and open this new query again, it also returns zero records.
It seems Access does 'something' to my query which makes it slightly corrupt. It still looks ok in Design and SQL-view, but doesn't return any records anymore.
Has anyone here ever noticed similar behavior in MS Access (2007)? I am at a loss to understand what Access is doing to the query and to how to solve this. Maybe I could perform the query in two steps? But still: before saving it works fine...
Any help will be greatly appreciated.
Best regards,
Martijn Senden.
I love deadlines. I like the whooshing sound they make as they fly by.
- Douglas Adams -