how can i do when the box txtRental is empty then the txtStatus shows a text 'available'.
My code :::
Private Sub txtStatus_Click()
If IsNull(Me.txtRental) Then
txt.status = available
Else
txt.status = unavailable
End If
End Sub
the code is not correct T..T . Pls hlp me to correct it