Using MS Access 2016 together with MSSQL 2012 backend via linked tables.
I have an issue which suddenly popped up which I seem to be unable to resolve.
I have a set of linked tables (which can be either tables or views) within the access db.
For at least one of these linked tables I have a form which has a second linked table as a subdatasheet. All of this works fine.
What I now want to do is after updating a certain field on the linked subform, I want the parent form to be refreshed but not requeried (as the changes in the subform will not cause new or deleted rows in the parent). This however does not work.
In my subform's control.afterupdate() event I have placed a:
me.parent.form.refresh
I see that this refreshes all the records in the subform correctly (which makes sense as refreshesing the parent form should also refresh the linked subform), however nothing changes in the parent form.
If I were to say me.parent.form.requery then I lose my spot in the parent form (due to the requery) but the changes are correctly reflected.
If i put a break on the me.parent.form.refresh and I take a look at the view in the sql database I see that the fields have changed (indicating that this is not a timing issue), it just is not visible in access.
A few weeks ago when I first designed these forms I am 100% sure that this was working, but somehow this does not function anymore. Does anyone have any ideas?
If required I can provide more information, thanks in advance for taking a look!