AdamFeerst
Registered User.
- Local time
- Today, 14:49
- Joined
- Sep 21, 2015
- Messages
- 63
I have a form based on a non-udateable query. To change data in a field, I click on the field. It makes visible an unbound combo box, and assigns the underlying value to that combo box (Me.cmbSID = Me.SID), and shifts focus to that box.
AfterUpdate changes the value in the underlying table:
What am I doing wrong?
Adam
Denver, CO USA
AfterUpdate changes the value in the underlying table:
stSQL = "UPDATE tblParentList SET tblParentList.SID = '" & Me.cmbSID & _
"' WHERE tblParentList.ParentID = " & Me.ParentID
Db.Execute stSQL, dbFailOnError
Me.Refresh
The update happens in the underlying table. However, that change isn't reflected on the form. I can see the changes if I close, reopen, and navigate back to that record. However, I don't see the changes if I just go to another record then back, keeping the form open."' WHERE tblParentList.ParentID = " & Me.ParentID
Db.Execute stSQL, dbFailOnError
Me.Refresh
What am I doing wrong?
Adam
Denver, CO USA