S
Steven R via AccessMonster.com
This should be so simple - I'm working on a contract database that either has
a contract number or a PO number - if the contract number field is empy, I
want to hide the text box and associated label, and show the PO number text
box and assoc. label - here is my code:
Private Sub Detail_Click()
If Me.txtContractNum.Value Is Null Then
Me.txtContractNum.Visible = False
Me.lblContractNum.Visible = False
Else
Me.lblPONum.Visible = True
Me.txtPOnum.Visible = True
end if
end sub
I tried Private SubDetail_Format() but that didn't work either
Steve
a contract number or a PO number - if the contract number field is empy, I
want to hide the text box and associated label, and show the PO number text
box and assoc. label - here is my code:
Private Sub Detail_Click()
If Me.txtContractNum.Value Is Null Then
Me.txtContractNum.Visible = False
Me.lblContractNum.Visible = False
Else
Me.lblPONum.Visible = True
Me.txtPOnum.Visible = True
end if
end sub
I tried Private SubDetail_Format() but that didn't work either
Steve