B
Bob
Bob Vance asked:
I dont want the box to come up asking if I want to delete record, just want
it to be deleted after clicking it, Thanks Bob
Private Sub cmdDeleteDailyRow2_Click()
If MsgBox("Do You Want To Delete Daily Record?", vbApplicationModal +
vbQuestion + vbYesNo, "Delete Record") = vbYes Then
tbStartDate2.value = ""
tbEndDate2.value = ""
tbTotalDays2.value = ""
cbDailyCharge2.value = ""
tbDailyChargeRate2.value = ""
tbDailyChargeAmount2.value = ""
SubCalculate
End If
End Sub
Thanks in advance.........Bob Vance
I dont want the box to come up asking if I want to delete record, just want
it to be deleted after clicking it, Thanks Bob
Private Sub cmdDeleteDailyRow2_Click()
If MsgBox("Do You Want To Delete Daily Record?", vbApplicationModal +
vbQuestion + vbYesNo, "Delete Record") = vbYes Then
tbStartDate2.value = ""
tbEndDate2.value = ""
tbTotalDays2.value = ""
cbDailyCharge2.value = ""
tbDailyChargeRate2.value = ""
tbDailyChargeAmount2.value = ""
SubCalculate
End If
End Sub
Thanks in advance.........Bob Vance