hi,
i need to .show a window to enter the date of a record when it was recalled
i have the following so far but its jumping the frmRecallDate.show line.
Any help is appreciated
Private Sub cmdRecall_Click()
On eror GoTo ErrMsg:
With rsRecalls
If .State = 1 Then .Close
.Open "Recalls", CNDoub, adOpenDynamic, adLockOptimistic
.AddNew
!datez = txtdatez.Text
!CONTACT = CboCont.Text
!Mode = Text2.Text
!Namess = Text1.Text
!Agent = Text3.Text
!Ksh = Text4.Text
!Usdollars = Text5.Text
!Confirmationcode = Text6.Text
If Text6.Text = Recall Then
frmRecallDate.Show
End If
.Update
.Close
End With
With rsPayments
.Open mSQL, CNNDouble, adOpenDynamic, adLockOptimistic
!Confirmationcode = Text6.Text
.Update
.Close
End With
MsgBox "Customer's Record Saved Successfully", vbOKOnly + vbInformation, CompanyName
Form_Load
Exit Sub
ErrMsg:
MsgBox Err.Description, vbCritical, CompanyName
Form_Load
End Sub