Why does my btnAdd01 not enable with this code when I start typing in txtorderfrom?
Private Sub txtorderfrom_KeyPress(KeyAscii As Integer)
If IsNull(Me.txtorderfrom) Then
Me.btnAdd01.Enabled = False
Me.btnAdd01.Enabled = True
This is a form in Add New Record mode and I want a value put into txtorderfrom so that my AutoNumber can be created. The botton will then be enabled to allow population of my subform.