I have a form called frmScheduledMeetings. On this form are three listboxes. lstMeetings is a list of meetings that have been scheduled for the year. lstMeetingDate is the the list of dates that the meeting will take place (some meetings are scheduled a few times a year). lstAttendees lists all clients who will be attending the meeting. When a user click on a meeting in lstMeetings, all the dates that this meeting is scheduled to take place will appear in the lstMeetingDate listbox. When a user select a date from the lstMeetingDate listbox, the lstAttendees will get filled in with clients (clientid) who has signed up to attend meeting XYZ on date mm/dd/yyyy. For each meeting, a staff maintains separate notes for the group as a whole as well as for each individual client. Occasionally though, there is a group note that the staff would like to be shared by all who attended that session. When a user double clicked on a selected date on lstMeetingDate, a blank frmGroupNote form will open. What I would like to know is, what is the best way to copy a group note which has been deemed as
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Run an append query and iterating down a listbox (Access2K)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Run an append query and iterating down a listbox (Access2K)
- This topic has 7 replies, 2 voices, and was last updated 20 years, 4 months ago.
AuthorTopicWSkucingtidur
AskWoody LoungerFebruary 7, 2005 at 2:33 pm #415574Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSkucingtidur
AskWoody LoungerFebruary 7, 2005 at 3:06 pm #927185i have wondered about this too. but the the users are of the opinion that it is important to them to be able to copy the notes. for e.g. sometimes a participant will say something that the clinician think it is important for all attendees to share and keep in their notes. and you are right, the group note as well as the client note will be edited separately afterwards too.
-
WSHansV
AskWoody LoungerFebruary 7, 2005 at 3:37 pm #927192You can create a query based on TblGroupNotes and on the record source of lstAttendees. Set the criteria for the NoteID field from TblGroupNotes to the NoteID from frmGroupNote, and make sure that you have the same criteria for the attendees as those used in the record source of lstAttendees.
Change this query into an append query, and specify TblClientNotes as target.
Add Acct, MeetDate, Notes, NoteDate and StaffID from TblGroupNotes to the query grid, as well as ClientID from the record source of lstAttendees. Specify the corresponding fields as target (you only need to specify Note as target for Notes). I assume that NoteID is an AutoNumber field, so you should not include that in the query – Access will populate it automatically. -
WSkucingtidur
AskWoody LoungerFebruary 7, 2005 at 9:14 pm #927264Hello Hans,
I took up your suggestion. It works, somewhat when there is only one person attending a session. If there is more than one person attending the same meeting I get an error message when trying to copy the notes to all clients attending the session. How can run the append query for as many times as there are attendees in the lstAttendees listbox i.e. how can enumerate through the listbox? Am I making sense? I hope I am. -
WSHansV
AskWoody LoungerFebruary 7, 2005 at 9:27 pm #927266 -
WSkucingtidur
AskWoody LoungerFebruary 9, 2005 at 4:06 pm #927654Hello Hans,
The row source type for lstAttendees is Table/Query
The row source is:
SELECT dsdtcmas.clientid, Trim([lastname]) & “, ” & Trim([firstName]) AS ClientName
FROM dsdtcmas INNER JOIN dsdtchgp ON dsdtcmas.clientid = dsdtchgp.clientid
WHERE (((dsdtchgp.meeting)=[Forms]![frmScheduledMeetings]![lstMeetings]) AND ((dsdtchgp.MeetingDate)=[Forms]![frmScheduledMeetings]![lstMeetingDate]))
ORDER BY Trim([lastname]) & “, ” & Trim([firstName]);I was trying to run the append query from the query design grid with both frmScheduledMeetings and frmGroupNotes open. The append query works really well when there is only one person is listed as attending the meeting on the specified date in lstAttendees. When there are more than one attendees, the error message that I get is
-
WSHansV
AskWoody LoungerFebruary 9, 2005 at 7:24 pm #927694Try this as criteria for the ClientID field in tblClientNotes:
In (SELECT dsdtcmas.clientid FROM dsdtcmas INNER JOIN dsdtchgp ON dsdtcmas.clientid = dsdtchgp.clientid WHERE (((dsdtchgp.meeting)=[Forms]![frmScheduledMeetings]![lstMeetings]) AND ((dsdtchgp.MeetingDate)=[Forms]![frmScheduledMeetings]![lstMeetingDate])))
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
42 minutes ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
59 minutes ago -
Unable to update to version 22h2
by
04om
1 hour, 19 minutes ago -
Windows 11 Insider Preview Build 26100.4482 (24H2) released to Release Preview
by
joep517
8 hours, 27 minutes ago -
Windows 11 Insider Preview build 27881 released to Canary
by
joep517
8 hours, 30 minutes ago -
Very Quarrelsome Taskbar!
by
CWBillow
10 minutes ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
21 hours, 26 minutes ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
10 hours, 12 minutes ago -
Is your battery draining?
by
Susan Bradley
3 hours, 19 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
19 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
1 day, 1 hour ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
9 hours, 24 minutes ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
9 hours, 36 minutes ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
2 hours, 15 minutes ago -
National scam day
by
Susan Bradley
9 hours, 8 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
5 hours, 18 minutes ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
2 days, 2 hours ago -
Tools to support internet discussions
by
Kathy Stevens
15 hours, 3 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
1 day, 17 hours ago -
AI is good sometimes
by
Susan Bradley
2 days, 9 hours ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
1 day, 23 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
3 days, 9 hours ago -
June KB5060842 update broke DHCP server service
by
Alex5723
3 days, 8 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
3 days, 12 hours ago -
Excessive security alerts
by
WSSebastian42
2 days, 3 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
3 days, 21 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
12 hours, 7 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
3 days, 9 hours ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
2 days, 2 hours ago -
OS news from WWDC 2025
by
Will Fastie
1 day, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.