Hello,
I created a User Form in Access 2010 that will add, delete, and clear records without any issues.
Now I am trying to figure out how to edit a record that is on the table.
Using the Data Entry Form, the user is able to add the following record criteria to a table:
SID
Start Date
End Date
CaseNo
Entity Count
Referenced Entity #
Regional Assist
Vendor Assist
Fully Referenced
LOB
Comments
However, the End Date, Regional Assist, Vendor Assist, and Comments can be left blank if no data is needed for the case.
I am trying to allow an added record to be edited using the SID and CaseNo to find the record, but I can't seem to get this work. What am I missing or doing wrong?
Thank you,
Miriam
I created a User Form in Access 2010 that will add, delete, and clear records without any issues.
Now I am trying to figure out how to edit a record that is on the table.
Using the Data Entry Form, the user is able to add the following record criteria to a table:
SID
Start Date
End Date
CaseNo
Entity Count
Referenced Entity #
Regional Assist
Vendor Assist
Fully Referenced
LOB
Comments
However, the End Date, Regional Assist, Vendor Assist, and Comments can be left blank if no data is needed for the case.
I am trying to allow an added record to be edited using the SID and CaseNo to find the record, but I can't seem to get this work. What am I missing or doing wrong?
Code:
Private Sub EditData_Click()
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("MasterThroughput")
With "MasterThroughput"
Me.EndDate = .Fields("End Date")
Me.AddRecord.Caption = "Update"
Me.EditData.Enabled = False
End With
End Sub
Thank you,
Miriam