hi there im doing a apartment project where i live and there are only 72 apt's how do make it so when it reaches 72 you can't add anymore lessors in my form i have a Add button that's controled by a adodc control. i tried this:
but it doesn't work why? or does someone else have any other idea's if you do please share.
lee123
Code:
Private Sub cmdADD_Click() If txtid.text >= 72 Then cmdadd.enabled= false ElseIF txtID.text <=72 Then cmdAdd.enabled=true End IF
lee123
Comment