I have an Access 2003 database which uses a main form with a datasheet in a subform. The main form allows the user to select from a menu which updates the recordsource of the subform. The subform also updates the number and type of fields available for editing based on the number and types of fields in the form's recordsource. It's basically a dynamic datasheet generator. This works just fine in Access 2003 and has been for years. If I open the same database in Access 2007 (full or runtime), most of the menu selections work. However, if I choose any menu option that references one particular table, the subform shows column headers, but does not show any rows of data or display any errors. It's as if the query is returning zero rows. Why would there be a difference in Access 2007? Did they add new reserved words?
Things I've tried:
- Updated every field in the table to ensure there are no null values (no change)
- Renamed every field and the table name just in case there are new reserved words (no change)
- Compacted and repaired the front end and back end (no change)
- Tried including and excluding fields one by one to see if anything changed (no change)
- Put the form's recordsource in a new query. (it returned the expected number of rows)
- Checked to make sure the form is not set to data entry mode. (It's not)
- Checked to ensure that no filters were being applied in code. (none were)
- Checked to make sure the query is updateable in Access 2007. (It is)
- Selectively deleted chunks of data from the source table. (no change)
I'm stumped.