Hello,
I have a report (rptLettersList) based upon a query (qryLettersIssued) that uses 2 tables to gather data.
The report prints out 5 or 10 results, and for each result I need an option to edit a relevant field in one of the tables (agent_letters).
This is what i currently have for the button (pretty much a wild guess):
I have extremely limited experience working with DAO. I think this should be relatively simple but not too sure about the process.
Any help would be grand.
Thanks,
I have a report (rptLettersList) based upon a query (qryLettersIssued) that uses 2 tables to gather data.
The report prints out 5 or 10 results, and for each result I need an option to edit a relevant field in one of the tables (agent_letters).
This is what i currently have for the button (pretty much a wild guess):
Code:
Private Sub Command0_Click()
Dim rs As DAO.Recordset
Set rs = "agent_letters"
rs.Edit
'i need to delete the data from the field
rs.Fields("warningLevel").Value = ""
rs.Update
Set rs = Nothing
End Sub
I have extremely limited experience working with DAO. I think this should be relatively simple but not too sure about the process.
Any help would be grand.
Thanks,