Hello friends, please can anyone solve my issue
I have used VBA on TrNo filed as per shown on Code Tag for below following forms open purpose so it is not working properly only open BT_DepositEntry Modify form otherwise not working. I think just need to change VBA code so please replay how to give a VBA in this case. I have attached the dB and Screenshot with Explanation.
Forms:
BT_DepositEntry Modify
BT_WithdrawEntr yModify
Thanks,
Sandhya.
I have used VBA on TrNo filed as per shown on Code Tag for below following forms open purpose so it is not working properly only open BT_DepositEntry Modify form otherwise not working. I think just need to change VBA code so please replay how to give a VBA in this case. I have attached the dB and Screenshot with Explanation.
Forms:
BT_DepositEntry Modify
BT_WithdrawEntr yModify
Code:
Private Sub TrNo_Click() On Error GoTo ErrorHandler If Left(Me!ID, 1) <> "D" Then DoCmd.OpenForm "BT_DepositEntryModify", acNormal, "BT_DepQry", "TrNo= " & Val(Me!TrNo) Else DoCmd.OpenForm "BT_WithdrawEntryModify", acNormal, "BT_WDrawQry", "TrNo= " & Val(Me!TrNo) End If ErrorHandler: End Sub
Sandhya.
Comment