ShaneBrennan
Programmer
before I begin THANKS JULIO for the help you gave me earlier today!<br><br>Right, let me begin.<br><br>I have this little database for maintaining the contents of a cupboard - I know a boring program, but this is a small test proggie to ensure I can do a very important part of a project I may be doing.<br><br>I have a form with a sub-form. The mainform displays information about cupboards whilst the sub-form holds information about the boxes in this form.<br><br>On the main form I have two fields. NoOfBoxesInCabinet and MaxNoOfBoxesInCupboard.<br><br>What I want to do is STOP any more additions to the sub-form once the Max number of boxes have been entered. I've spotted an "Allow Additions" on the sub-form. Can I set this via code, if so can anyone help me! <br><br>Or if I'm on the wrong track can someone please steer me on the right one.<br><br>Again thanks for any help you give us.<br> <p> Shane Brennan<br><a href=mailto:brennans@tcat.ac.uk>brennans@tcat.ac.uk</a><br><a href= > </a><br>