I have a receipt form and default bank account numbers, credit card numbers etc for individual payers. I want to blank out the credit card details if they pay by cheque or cash this time, the bank details if they pay by cash or credit card etc. I have the following on the after update of the combo which allows me to choose the payment method but it seems to do nothing. Where have I gone wrong
Private Sub PaymentMethod_AfterUpdate()
Select Case Me.[PaymentMethod]
Case “Cash”
Me![BankAccountName] = Null
Me![BankName] = Null
Me![BankBranch] = Null
Me![BankBSB] = Null
Me![CreditCardType] = Null
Me![CreditCardName] = Null
Me![CreditcardNo] = Null
Me![ExpiryDate] = Null
Case “Cheque”
Me![CreditCardType] = Null
Me![CreditCardName] = Null
Me![CreditcardNo] = Null
Me![ExpiryDate] = Null
Case “Credit Card”
Me![BankAccountName] = Null
Me![BankName] = Null
Me![BankBranch] = Null
Me![BankBSB] = Null
Case “Money Order”
Me![BankAccountName] = Null
Me![BankName] = Null
Me![BankBranch] = Null
Me![BankBSB] = Null
Me![CreditCardType] = Null
Me![CreditCardName] = Null
Me![CreditcardNo] = Null
Me![ExpiryDate] = Null
Case “Direct Deposit”
Me![CreditCardType] = Null
Me![CreditCardName] = Null
Me![CreditcardNo] = Null
Me![ExpiryDate] = Null
End Select
End Sub
TIA
Steve