How to send data from textbox to table field in access -
question how send information text54 table view below field name notes. code.
in onclick event of add note button:
dim db database dim rec recordset set db = currentdb set rec = db.openrecordset ("select * yourtablename") rec.addnew rec("notes") = "" & me!text54 & "" rec.update rec.close db.close
you may have tinker rec("notes") line, may need me!text54.text or me!text54.value, can't remember.
oh, , once you've added record, you'll have refresh table view shows up. can't tell if it's subform or whatever can't tell how it.
Comments
Post a Comment