I use unbound forms to lookup records and it has worked well in Access 2003. I change the .recordsource on the subform using a sql statement and then do a .form.requery.
This no longer works in Access 2007.
After trying many combinations of filters, .refresh, .requery. compacting/repairing, mdb/accb etc. nothing worked. the subform always shows just the new record (examining the recordsource shows the correct dataset).
I then changed the sourceobject name and had to keep deleting the master/link fields (thanks MS).
a new query appeared in the list and in the query pane- TmprryQryFrLnkFldsCrtn0123
456789
no table no output.
i created a fresh test database and form and the only way i could get it to work is if i imported this query.
It doesn't seem to be related to this specific form since i imported it into my application and now my main form works.
I can't seem to reproduce the creation of this query-
Anyone else seen this problem?
Start Free Trial