Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Change a value in a table using Access 2010 macro.

Posted on 2013-12-06
2
Medium Priority
?
1,994 Views
Last Modified: 2013-12-08
I want to use a macro to open a table, go to a record and then enter data in a field. Below is a picture of my macro up to the point where the record is selected.

Now which action can I use to give a value to a specific field in that record. The fieldname is "Note" and I want to enter "This is the new value." in that field.

Applicable picture
0
Comment
Question by:Fritz Paul
2 Comments
 
LVL 15

Accepted Solution

by:
JimFive earned 1000 total points
ID: 39702243
I don't think you can.  Is there a reason you want to use a Macro instead of an update query?
0
 

Author Closing Comment

by:Fritz Paul
ID: 39704267
Thanks, You'r right. I read more about update queries and understand the limitations of macros vs update queries better now.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question