A
Alex
I have a form, which has a query containing left joins for a data source.
After I update a combo box field on the form, I need the other
controls/fields on my form to update. I have tried the following different
codes in the combo box field's AfterUpdate event and nothing works. I can
get the form to refresh, but it jumps to the first record. I can get the
form to refresh and open, but it filters the recordset to only the refreshed
record. Can someone please help. Thanks.
Me.Requery - does nothing
****************************************
Me.Dirty = False
DoCmd.OpenForm strDocName, , , strWhere - does nothing
*******************************************
strDocName = "NewPartInputfrm"
DoCmd.OpenForm strDocName, , , "[ID] = " & IDctr
- record refreshes and open, but it filters the recordset to only the
refreshed record.
End Sub
After I update a combo box field on the form, I need the other
controls/fields on my form to update. I have tried the following different
codes in the combo box field's AfterUpdate event and nothing works. I can
get the form to refresh, but it jumps to the first record. I can get the
form to refresh and open, but it filters the recordset to only the refreshed
record. Can someone please help. Thanks.
Me.Requery - does nothing
****************************************
Me.Dirty = False
DoCmd.OpenForm strDocName, , , strWhere - does nothing
*******************************************
strDocName = "NewPartInputfrm"
DoCmd.OpenForm strDocName, , , "[ID] = " & IDctr
- record refreshes and open, but it filters the recordset to only the
refreshed record.
End Sub