Hi,
I really need help with this.
I added a new field to a table.
Changed the CurrentDB.Execute statement to include it. Now I am getting a run time error 3061 , Too few parameters. Expected 1 .
Code before the change.
CurrentDb.Execute "INSERT INTO signals ([datedaily], sw, c )VALUES (#" & mydate & "#, " & BuyFlag & ", " & rut & " ;"
Code after change.
CurrentDb.Execute "INSERT INTO signals ([datedaily], sw, c, BuyOrSell)VALUES (#" & mydate & "#, " & BuyFlag & ", " & rut & ", " & trade & ");"
What is wrong with it?
I really need help with this.
I added a new field to a table.
Changed the CurrentDB.Execute statement to include it. Now I am getting a run time error 3061 , Too few parameters. Expected 1 .
Code before the change.
CurrentDb.Execute "INSERT INTO signals ([datedaily], sw, c )VALUES (#" & mydate & "#, " & BuyFlag & ", " & rut & " ;"
Code after change.
CurrentDb.Execute "INSERT INTO signals ([datedaily], sw, c, BuyOrSell)VALUES (#" & mydate & "#, " & BuyFlag & ", " & rut & ", " & trade & ");"
What is wrong with it?