I created a query that pulls information from two forms. I then put that query on a form with a extra text boxes were you put a value in. When I press a button the following must happen. It must take the value from form 1 (payment) and it must multiply it by the text box value (rate) then it must add it to the value from form 2 (balance) my coding is as follows
Balance = balance + ( payment * rate)
As soon as I run the program I get error 3326. I even put it as dimensions then the code looks like this.
Dim a,b,c as integer
a = balance
b= payment
c = rate
a = a + ( b*c)
Balance = a
Every thing works but as soon as I hit the last part of code I get error 3326. I know it is something stupid and something I must know but I just can't get past this code. Please showe me were I make a mistake