Hi Doug!<br><br>ALMOST GOT THE BUGGER!<br><br>Right. I've spent ALL day on this frigging thing and It has driven me MAD!<br><br>But I have only one obstical to overcome now (Spoken like a true professional).<br><br>I'll tell ya the last remaining problem in a sec, but here is the code behind the sub-form:<br><br>------------------------------------------------------------<br><br>Private Sub Form_AfterUpdate()<br> <br> Me.AllowAdditions = False<br> <br> If IsEmpty(Me![NoOfBoxes]) Or IsEmpty(Me![MaxAllowed]) Then<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> Else<br> If Me![NoOfBoxes] = 0 Then<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> Else<br> If Me![NoOfBoxes] >= Me![MaxAllowed] Then<br> If Me.AllowAdditions = True Then<br> Me.AllowAdditions = False<br> End If<br> Else<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> End If<br> End If<br> End If<br><br>End Sub<br><br><br>Private Sub Form_Delete(Cancel As Integer)<br> <br> Me.AllowAdditions = True<br><br>End Sub<br><br>Private Sub Form_Timer()<br> <br> If IsEmpty(Me![NoOfBoxes]) Or IsEmpty(Me![MaxAllowed]) Then<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> Else<br> If Me![NoOfBoxes] = 0 Then<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> Else<br> If Me![NoOfBoxes] >= Me![MaxAllowed] Then<br> If Me.AllowAdditions = True Then<br> Me.AllowAdditions = False<br> End If<br> Else<br> If Me.AllowAdditions = False Then<br> Me.AllowAdditions = True<br> End If<br> End If<br> End If<br> End If<br> <br>End Sub<br><br>-----------------------------------------------<br><br>Okay I've overcome most of the errors I was having, by simply removing the navigation bars, creating a new next button and put the following code behind it:<br><br> Me![cupboards - subform].Form.AllowAdditions = True<br> DoCmd.GoToRecord , , acNext<br><br>I had to do this, because without the ALLOW ADDITIONS set to true on the sub-form Access, like I say, went belly up. setting this to TRUE allows the stops a lot of errors caused by NoOfBoxes not being set with a value.<br><br>Okay the last problem: as I see it.<br><br>When I reach the MaxAllowed, Access still displays the Append record at the end of the sub-form for @ 1/2 a sec, whilst the timer routine steps in and disables the ALLOWADDITIONS. Speed typest, could enter 1 or two extra record before it is removed...<br><br>Any suggestions on how I can stop this?<br> <p> Shane Brennan<br><a href=mailto:brennans@tcat.ac.uk>brennans@tcat.ac.uk</a><br><a href= > </a><br>