i'm having a problem with an access database that i'm trying to use SQL statements in. what i'm trying to do is update a table from information that is put onto a form but i can't bind the form to the table. the information needs to be put in the table so that another form can pull it up when needed. i tried using sql statements to pull this off, this is what i have:
strSQL = "Update KanbanCards SET NumberofCards =" & NumCards & " WHERE Item# =" & [Forms]![KanbanCards]![Item#] & ""
DoCmd****nSQL strSQL
however when i run my program and click on the command button that will eventually run this code, i get 2 input boxes asking for values and i just click okay through those and then i get an error saying "Syntax error in date in query expression 'Item# = 8912004'" where the item number is just a part number that i'm working with. i don't have a clue what the problem is. if anyone has a good idea on what to try or to do it would be greatly appreciated. thank you very much in advance.