Hi i have this code on a bottom that move me a record to another table and then delete it from the table it was!!
and works perfect
the code is like this
the querys that move and delete have some conditions to make the change, so if the record doesnt have all conditions it doesn execute the query
my question is how can i mkae a messege box that can tell me that the querys did they work, and other who can tell me that it didint??
thx for all your help!!
and works perfect
the code is like this
Private Sub Comando0_Click()
On Error GoTo Err_Comando91_Click
Dim stDocName As String
stDocName = "historial_mover"
DoCmd.OpenQuery stDocName, acNormal, acEdit
stDocName = "historial_eliminacion"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.Close
Exit_Comando91_Click:
Exit Sub
Err_Comando91_Click:
MsgBox Err.Description
Resume Exit_Comando91_Click
End Sub
the querys that move and delete have some conditions to make the change, so if the record doesnt have all conditions it doesn execute the query
my question is how can i mkae a messege box that can tell me that the querys did they work, and other who can tell me that it didint??
thx for all your help!!