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
133 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
Comment Utility
Can you please provide some context here? ..or a link to your "other question"?
The question here is unclear as it stands...
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
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
Comment Utility
Hello Scott,

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

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now