I dont know why I cant pass the value of AccountType (from TblAccount) to Me.txtWAccounTy pe(textbox from WithdrawView)
pls help me.. here's my code
my goal is to retrieve that AfterUpdate of AccountId. messagebox"Acco unt Number Do Exist" pop up so it means there is a value but why it doesn't appear in Me.txtWAccounTy pe.
pls help.. thank you.
pls help me.. here's my code
Code:
If IsNull(DLookup("[AccountId]", "TblAccount", "AccountId = '" & txtWAccountId & "'")) Then
MsgBox "Account Number Doesn't Exist"
Else
Me.txtWAccounType.Value = DLookup("[AccountType]", "TblAccount", "AccountId = ' " & Forms![WithdrawView]![txtWAccountId] & "' ")
MsgBox "Account Number Do Exist"
End If
pls help.. thank you.
Comment