B
Bob
This code is working fine in a earlier programme, but now it will not bring
up a new record, It goes to Horse records but only to record 1, I know it
does work as have it working earlier, maybe something that prevents it going
to new record:
Private Sub Command98_Click()
If MsgBox("Does this NEW Horse have it's Client in STABLEIZE? If NO go back
and enter it in Clients!", vbQuestion + vbYesNo) = vbNo Then
Exit Sub
End If
On Error GoTo Err_Command98_Click
DoCmd.OpenForm "frmHorseInfo"
DoCmd.GoToRecord , , acNewRec
Exit_Command98_Click:
Exit Sub
Err_Command98_Click:
MsgBox Err.Description
Resume Exit_Command98_Click
End Sub
Thanks in advance.........Bob Vance
up a new record, It goes to Horse records but only to record 1, I know it
does work as have it working earlier, maybe something that prevents it going
to new record:
Private Sub Command98_Click()
If MsgBox("Does this NEW Horse have it's Client in STABLEIZE? If NO go back
and enter it in Clients!", vbQuestion + vbYesNo) = vbNo Then
Exit Sub
End If
On Error GoTo Err_Command98_Click
DoCmd.OpenForm "frmHorseInfo"
DoCmd.GoToRecord , , acNewRec
Exit_Command98_Click:
Exit Sub
Err_Command98_Click:
MsgBox Err.Description
Resume Exit_Command98_Click
End Sub
Thanks in advance.........Bob Vance