var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I have a form which adds some info to a table, it creates the key and everything. What I wanna do is set it so it will cancel the addition to the table (and delete the new key and everything) if a certain subform is empty.
How can I do it?
In certain situations I like to have complete control over the info being entered for new records. Here's one of my approaches:
Create an unbound form with all necessary fields. Have a button to add the info. Within the click event for the button, do any data validation and then add the info to the table using VBA.
If you don't like that approach, read up on a form's BeforeUpdate event in online help.
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors