[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do you have the Memo Box only update the records that were in the query with the same comment?

Posted on 2015-01-12
3
Medium Priority
?
155 Views
Last Modified: 2015-01-20
Hello,

Slightly different questions then my other question.

How do you have the Memo Box only update the records that were in the query with the same comment?
0
Comment
Question by:Jass Saini
3 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40545990
Can you please provide some context here? ..or a link to your "other question"?
The question here is unclear as it stands...
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 40546296
To add to what Jeff said:

A Memo box on a Form is bound to an underlying field. Changes to that Memo box would affect the data in that field, but only in the specific record the form is "pointing" to at the time.

If you want to include a button to update the same field for other records, you could do this:

Currentdb.Execute "UPDATE YourTable SET YourMemoField='" & Me.txTheMemoControl & "' WHERE <your criteria here>"

Note this can be troublesome with bound forms.
0
 

Author Comment

by:Jass Saini
ID: 40549168
Hello Scott,

I understand most of the syntax except for "The MemoControl"...you mean like if it a click or AfterUpdate??
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

873 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