Hi,
I am building an application in Access 2003. I would like to capture the error for the following query, like "No Record Found". Right now if the record does not exist Access pops the End/Debug error box up.
Dim dbThisDatabase As DAO.Database
Dim rstGetRecord As DAO.recordset
Dim qdf As DAO.QueryDef
Set dbThisDatabase = CurrentDb
Set qdf = dbThisDatabase.QueryDefs("qryExLoginSelect")
qdf.Parameters("qryParcelID") = Me.[parcel ID]
Set rstGetRecord = qdf.OpenRecordset
The other thing I would like to do is capture the number of records added for the following code.
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryExemptAddRecord"
DoCmd.SetWarnings True
Thanks for any help anyone can provide.
Greg