G
Guest
I have a form (frmContacts) in which users enter home visit data pertaining
to specific clients. On this form is a button which opens a linked form
(frmSummary) used for entering a monthly text summary of those visits.
Sometimes users will add data in frmContacts and then continue on to
frmSummary. Sometimes however, they will simply open frmContacts, choose a
client from a combo box, and then continue on to frmSummary, without adding
any other data to frmContacts. This all works fine except that even when the
user doesn't add any other data to frmContacts, it still saves a record. I
understand why this happens, but I need it to NOT save the record if certain
conditions are not met, for example, if no date is entered or if no time is
specified. I'm pretty new to using code, but I'm learning quickly, so I
don't think I'll be completely lost if it's necessary to use it.
Any help is appreciated!
to specific clients. On this form is a button which opens a linked form
(frmSummary) used for entering a monthly text summary of those visits.
Sometimes users will add data in frmContacts and then continue on to
frmSummary. Sometimes however, they will simply open frmContacts, choose a
client from a combo box, and then continue on to frmSummary, without adding
any other data to frmContacts. This all works fine except that even when the
user doesn't add any other data to frmContacts, it still saves a record. I
understand why this happens, but I need it to NOT save the record if certain
conditions are not met, for example, if no date is entered or if no time is
specified. I'm pretty new to using code, but I'm learning quickly, so I
don't think I'll be completely lost if it's necessary to use it.
Any help is appreciated!