Hi,
I have a table with fieldA fieldB and fieldC, lets say.
I have a query which refers to that table with fieldA field B fieldX and fieldZ, lets say.
I have a form which has that query as my record source.
On that form, I have an unbound text box and a command button.
What I would like to do is have the user be able to fill in the text box, press the button and have that value added to fieldC of the original table based on the current record of the form, which includes the original FieldA from the table (through the query).
Does that make sense? I have tried searching online but can't find anything that specifically addresses this situation. I assume that I will need some VBA. I have found some code that would allow me to create a NEW record in a table and add values from unbound boxes, but none which ADDs to an existing record in a table. Thanks in advance for any help.
Mher
I have a table with fieldA fieldB and fieldC, lets say.
I have a query which refers to that table with fieldA field B fieldX and fieldZ, lets say.
I have a form which has that query as my record source.
On that form, I have an unbound text box and a command button.
What I would like to do is have the user be able to fill in the text box, press the button and have that value added to fieldC of the original table based on the current record of the form, which includes the original FieldA from the table (through the query).
Does that make sense? I have tried searching online but can't find anything that specifically addresses this situation. I assume that I will need some VBA. I have found some code that would allow me to create a NEW record in a table and add values from unbound boxes, but none which ADDs to an existing record in a table. Thanks in advance for any help.
Mher