How to send data from textbox to table field in access -


call sheet

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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -