-
WSClausParkhoi
AskWoody LoungerPlease clarify, Peter.
Where does the combobox fit in? I don -
WSClausParkhoi
AskWoody LoungerJanuary 23, 2002 at 7:46 pm in reply to: NotInList event / add new record in a subform (97/SR-2) #565590Stephan,
The reply to your -
WSClausParkhoi
AskWoody LoungerExcuse my bad spelling. The trick is to spell trigger the correct way.
-
WSClausParkhoi
AskWoody LoungerI suggest you create a table having your files and descriptions.
Use the table as the rowsource for a multiselect listbox on your form and include a button to fire off the e-mail process. Look at Helen Feddema’s Home Page http://www.helenfeddema.com/ for help on sending e-mails. -
WSClausParkhoi
AskWoody LoungerDon’ t worry – the query will be run once only for each SiteInfo record in your table. The form’s AfterInsert event will be trickered only after a new record has been added.
-
WSClausParkhoi
AskWoody LoungerSince you are using a tab control it should not cause you a lot of trouble to do what you aim to do.
Selecting the page having your subform will tricker the AfterInsert event for the form when you have typed your new record..
Hence, all you have to do is to use the following code for your form -
WSClausParkhoi
AskWoody LoungerQ1: I assume that the button_Click event is in VBA code. If true look at the code in the class form and insert a line like this next to the DoCmd.OpenQuery stmt:
[sbfSiteReviewCriteria].Requery
Where sbfSiteReviewCriteria is the name on the subform control. To find the name: select the subform control with the form in design mode and look for the Name property.Q2: If you are not used to do VBA coding, I think you best stick to what you have and ensure that the new record is saved before the query is run. You cannot link new records in another table to the new SiteInfo record until it has been saved. To save the record you may insert the following code line in button_Click event before the Docmd.OpenQuery stmt:
DoCmd.Runcommand acCmdSaveRecordIf this is rubbish to you or I did not seem to understand your problem, yell!
-
WSClausParkhoi
AskWoody LoungerIt is not clear to me what you would like to do.
If you want to extract each comma separated value you might have a look at: http://www.mvps.org/access/strings/str0003.htm
-
WSClausParkhoi
AskWoody LoungerSurely you can write your condition checking in separate code. How did you do it, and what variable was not available?
-
WSClausParkhoi
AskWoody LoungerKan nogen anbefale et godt spansk kursus? = Can anyone recommend a good spanish tutorial? (Just joking!)
-
WSClausParkhoi
AskWoody LoungerJanuary 23, 2002 at 8:01 am in reply to: Set Options at Application Start? (A2k (9.0.4402) SR-1) #565436Exactly my point.
-
WSClausParkhoi
AskWoody LoungerAs far as I know you can’t change the backcolor for just the selected row – only for all of the listbox.
-
WSClausParkhoi
AskWoody LoungerJanuary 22, 2002 at 2:48 pm in reply to: Set Options at Application Start? (A2k (9.0.4402) SR-1) #565301I can’t imagine why you would change autocorrect options in VBA at startup.
Anyhow, you can use the SetOption method of the Application object to set options.
Application.SetOption optionname, settingLook for help on Application obejct and SetOption.
-
WSClausParkhoi
AskWoody LoungerYou may use:
DoCmd.RunCommand acCmdPageSetup
-
WSClausParkhoi
AskWoody LoungerA small hint/correction to my prev. reply.
Use the Load event. Not the Open event, since this will not execute if the form is already open.
![]() |
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 |

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
-
Two blank icons
by
CR2
4 hours, 45 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
7 hours, 10 minutes ago -
End of 10
by
Alex5723
9 hours, 50 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
10 hours, 20 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
6 hours, 48 minutes ago -
test post
by
gtd12345
15 hours, 51 minutes ago -
Privacy and the Real ID
by
Susan Bradley
5 hours, 59 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
6 hours, 48 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
20 hours, 13 minutes ago -
Upgrading from Win 10
by
WSjcgc50
7 hours, 37 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
15 hours, 18 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 11 hours ago -
The story of Windows Longhorn
by
Cybertooth
23 hours, 36 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 13 hours ago -
Are manuals extinct?
by
Susan Bradley
1 hour, 18 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 22 hours ago -
Network Issue
by
Casey H
1 day, 10 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 10 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 11 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 13 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 14 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
2 days, 15 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
2 days, 15 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 22 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 day, 15 hours ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 10 hours ago -
How much I spent on the Mac mini
by
Will Fastie
17 hours, 40 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
1 day, 13 hours ago -
Spring cleanup — 2025
by
Deanna McElveen
3 days, 16 hours ago -
Setting up Windows 11
by
Susan Bradley
2 days, 11 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.