A
azu_daioh
I have this:
Private Sub DIFO_NUM_AfterUpdate()
If Me.NewRecord = True Then
Me.FO_MGR.RowSourceType = "Table/Query"
Me.FO_MGR.RowSource = "SELECT Name FROM [Staff Info]" & "WHERE
Title = 'Mgr'
End If
End Sub
I know I need to add something but I dont know what. I have a combo-
box "DIFO_NUM" listing all the field offices numbers. In theory, I
would like it to automatically complete the Field Office and Regional
Manager fields depending on DIFO_NUM value.
I only want it to do this on NEW RECORDS, older records does not need
to change the value of the FO_MGR & REG_MGR.
Thank you
Sharon
Private Sub DIFO_NUM_AfterUpdate()
If Me.NewRecord = True Then
Me.FO_MGR.RowSourceType = "Table/Query"
Me.FO_MGR.RowSource = "SELECT Name FROM [Staff Info]" & "WHERE
Title = 'Mgr'
End If
End Sub
I know I need to add something but I dont know what. I have a combo-
box "DIFO_NUM" listing all the field offices numbers. In theory, I
would like it to automatically complete the Field Office and Regional
Manager fields depending on DIFO_NUM value.
I only want it to do this on NEW RECORDS, older records does not need
to change the value of the FO_MGR & REG_MGR.
Thank you
Sharon