E
Eric G
I'm currently using the following code that's attached to a command
button which allows editing the last record, when the button is
clicked. The problem is that it also allows editing of all the
records.
Would someone be able to help me change this code to allow editing of
the last *and only the last* record?
If [Forms]![frmPassword]![cboUserID] =
Forms![frmTab]![frmTabDet].Form![TeacherID] Then
frmTabDet.Form.Recordset.MoveLast
frmTabDet.Form.AllowEdits = True
End If
TIA Eric
button which allows editing the last record, when the button is
clicked. The problem is that it also allows editing of all the
records.
Would someone be able to help me change this code to allow editing of
the last *and only the last* record?
If [Forms]![frmPassword]![cboUserID] =
Forms![frmTab]![frmTabDet].Form![TeacherID] Then
frmTabDet.Form.Recordset.MoveLast
frmTabDet.Form.AllowEdits = True
End If
TIA Eric