I Need VBA Assistance to set a record value in a table

G

Guest

Good morning,

I am making an Access VBA module and need assistance. I made a table to
contain a single record and I need to know if there is a way first to assisgn
this record to get its value from a text box on a form entered by a user? And
then to use VBA to make this record automatically update its value anytime a
user types another value in this text box and clicks on UPDATE button. My
table name is CURRENT_YEAR and my form name is CURR_YEAR.Any suggestions?
Thanks.
 
K

Ken Snell [MVP]

Why not set the form's Record Source to the table, and bind the textbox to
that field? That way, the form will do that for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top