Solved

Change a value in a table using Access 2010 macro.

Posted on 2013-12-06
2
1,766 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

789 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