S
Stapes
Hi
I have a form Customers and a subform Bookings. The subforms Allow
Additions property is set to false and Data Entry to false.
I put a button on the Customers form, New Booking, which changes the
subforms Allow Additions property to true and Data Entry to true. If
the user now closes the form without adding any booking details, a
blank record gets created.
In order to try to prevent this, I set one of the fields in the
Booking table to required. Validation > 0. Validation message "Booking
not added".
That works fine, i.e. if the user backs out they get a message
"Booking not added". However, when I now go to enter data on the
booking form the 'Booking not added' message comes out before I start
typing.
All I actually want is to prevent spurious blank records being
created.
This must be a regular thing. What is the correct procedure?
Stapes
I have a form Customers and a subform Bookings. The subforms Allow
Additions property is set to false and Data Entry to false.
I put a button on the Customers form, New Booking, which changes the
subforms Allow Additions property to true and Data Entry to true. If
the user now closes the form without adding any booking details, a
blank record gets created.
In order to try to prevent this, I set one of the fields in the
Booking table to required. Validation > 0. Validation message "Booking
not added".
That works fine, i.e. if the user backs out they get a message
"Booking not added". However, when I now go to enter data on the
booking form the 'Booking not added' message comes out before I start
typing.
All I actually want is to prevent spurious blank records being
created.
This must be a regular thing. What is the correct procedure?
Stapes