The code in that last post was incorrect - what I am using is: If Me.txtDtlCount >=1 And (Me.txtDtlCount < Me.txtGrpCount) Then TK