Change to Save Record!

B

Bob V

Can this Close Control On my form be change that instead of Not saving the
record , but to save it by entering "zSpare" into the text box on the form
[tbName] text field ,which is in [tblHorseInfo]
In that case I will have records under this name to use at a later date? and
not getting big gaps in my increment numbers
Thanks for any help...........Bob

Private Sub cmdClose_Click()


If IsNull(Me.subHorseDetailsChild.Form.OwnerID) Then
If Me.Dirty Then
Me.Undo
End If
If IsNull(Me.subHorseDetailsChild.Form.OwnerID) Or _
(IsNull(tbName) And IsNull(cbFatherName)) Then

If Me.Dirty Then
Me.Undo
End If

End If
End If

DoCmd.Close acForm, Me.Name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top