i have a very simple couple of lines of code:
sql = "SELECT Itemid FROM [tblstock]; WHERE itemid = txtitemid.text"
adostock.RecordSource = sql
adostock.Refresh
and i keep getting the error in the subject line. I really can't understand the problem because i don't see what else i could put in.
any help would be really appreciated
sql = "SELECT Itemid FROM [tblstock]; WHERE itemid = txtitemid.text"
adostock.RecordSource = sql
adostock.Refresh
and i keep getting the error in the subject line. I really can't understand the problem because i don't see what else i could put in.
any help would be really appreciated