D
Dominique Schroeder
Hi,
I have a parent form and several subforms that are located on different
tabs.
Subform1 is filtered through a query which selects all records of table1
that have a status field of "open".
The subform2 which is on another tab filters for records on table1 with
status of "completed"
Question: When a user changes the status from "open" to "completed" on the
first subform1, I would like the record to "move" from subform1 to subform2.
I tried requery and refresh on the dirty event of the form with no luck
Here is the code:
I tried the 2 different save record methods below
I tried the requery as well as the refresh
Nothing works!
Private Sub Form_Dirty(Cancel As Integer)
DoCmd.RunCommand acCmdSaveRecord
Me.Requery
'DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
'Me.Refresh
End Sub
thanks,
Dominique
I have a parent form and several subforms that are located on different
tabs.
Subform1 is filtered through a query which selects all records of table1
that have a status field of "open".
The subform2 which is on another tab filters for records on table1 with
status of "completed"
Question: When a user changes the status from "open" to "completed" on the
first subform1, I would like the record to "move" from subform1 to subform2.
I tried requery and refresh on the dirty event of the form with no luck
Here is the code:
I tried the 2 different save record methods below
I tried the requery as well as the refresh
Nothing works!
Private Sub Form_Dirty(Cancel As Integer)
DoCmd.RunCommand acCmdSaveRecord
Me.Requery
'DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
'Me.Refresh
End Sub
thanks,
Dominique