meenctg
Learn24bd
- Local time
- Today, 18:09
- Joined
- May 8, 2012
- Messages
- 133
my code is
It shows like this message. Please help me for fix this.
Code:
Private Sub Command12_Click()
Dim SQL As String
If Me.From = DLookup("BkashAccount", "Accounts", "[BkashAccount]=""" & Me.From & """") Then
CurrentDb.Execute ("UPDATE Accounts " & _
"SET Accounts.AcBalance = ''" & Me.ToBal & " + " & Me.AmountTransfer & "''" & _
"WHERE [BkashAccount] = '" & Me.To & "'")
CurrentDb.Execute ("UPDATE Accounts " & _
"SET Accounts.AcBalance = ''" & Me.FromBal & " + " & Me.AmountTransfer & "''" & _
"WHERE [BkashAccount] = '" & Me.From & "'")
End If
End Sub
It shows like this message. Please help me for fix this.