D
Dave Elliott
I have a form named FReg that is a Check Register, you can enter credits or
debits
I dont want the user to be able to do both on the same record.
If the user enters a debit then the credit field should be dimmed or
invisible. The first control they go to is. (debit) not (Credit)
On exit of the control debit I wish it to make (2) controls invisible if
there is data in the debit field.
One control is (Depositor) and the other is (Credit)
How can I do this?
I tried this code, but didnt work:
If Not IsNull(debit) Then
Depositor.Visible = False
credit.Visible = False
Else: Depositor.Visible = True
credit.Visible = True
End If
Thanks for your help.
debits
I dont want the user to be able to do both on the same record.
If the user enters a debit then the credit field should be dimmed or
invisible. The first control they go to is. (debit) not (Credit)
On exit of the control debit I wish it to make (2) controls invisible if
there is data in the debit field.
One control is (Depositor) and the other is (Credit)
How can I do this?
I tried this code, but didnt work:
If Not IsNull(debit) Then
Depositor.Visible = False
credit.Visible = False
Else: Depositor.Visible = True
credit.Visible = True
End If
Thanks for your help.