-
WSkentg
AskWoody LoungerThe contols are currently grouped in Layout so in design view –
Select the control, right click>slelect row
Now right click again Layout>remove Layout.
The controls are now independent.
-
WSkentg
AskWoody LoungerI really like the improvements in 2010. There is nothing I don’t like about it.
I’m using the 32 bit versionMajor Likes –
The ease of modifying the ribbon. You can put stuff where you want it.
Printing to PDF
I prefer Backstage to the Office button menu
In Access – The image gallery and no more memory leaks crashing reports with hundreds of images.Dislikes –
In Access I use Rick Fisher’s Find and Replace alot. It works in 2010 but you get nags about it being A beta version. -
WSkentg
AskWoody LoungerIs it possible that your security software is blocking the images? Perhaps it is an overly aggressive privacy setting (web beacons, etc.). Or a firewall rule against some component of Outlook, or MS Word, browsing the web.
It is entirely possible and indeed most probable,
This notebook is using MS security essentials whereas my PC was using ZoneAlarm.
I’ll check it out, thanks.
-
WSkentg
AskWoody LoungerSetting a forms modal property in design view is a waste of time, it just makes it hard to Switch from from view to design view.
And only opens Modally if you open it from the database window / nav pane.
If you open it with code then it opens the way you spec it in the code.
Just open it as modal as per John’s code.
-
WSkentg
AskWoody LoungerThanks
-
WSkentg
AskWoody LoungerOnce you’ve done what John suggests then you can use a WHERE clause to show just mother with kids or mothers without kids
eg for Mothers without kidsCode:SELECT * FROM Mothers WHERE ChildID Is Null
-
WSkentg
AskWoody Loungerif you put
Code:MsgBox Me.Name
in the open event it will display the form name
so as RetiredGeek suggest, passing either the name of the form from the Open event
Code:If DoWhatever(Me.Name) Then
to
Code:Function DoWhatever(strFormName as String) as Boolean. ...Your code here... End Function
or passing the form object itself
Code:If DoWhatever(Me) Then
Code:Function MyCloseRoutine(frm as Form) as Boolean. Dim strFormName as string strFormName = frm.Name End Function
-
WSkentg
AskWoody LoungerHi Jason,
I guess you have a table with the template names in it.
Now add another table with a list of variables required for each template.
Now you can have a form where the user selects the Template and a subform where they can enter the required values.
You can use the same form to enter the required variable records but then prevent the user from adding or deleting or modifying the Variable names.
Kent
-
WSkentg
AskWoody LoungerThe database will allow the user to modify these variables
what do you mean “modify”
Do you mean you want them to enter a value for the variables?
Or do you mean you want them to be able to change the name of the field being used?
-
WSkentg
AskWoody Loungeryou might like to give your button a meaningfull name instead of just leaving it as ‘Command92’.
try this
Code:On Error Resume Next Do Until Err.Number 0 DoCmd.OpenReport "Agent Report Card" If Err.Number = 2501 Then Err = 0 ' there was no data DoCmd.GoToRecord , , acNext Loop
when you get to the end of the form’s records the docmd.gotorecord will raise an error and the code will stop.
-
WSkentg
AskWoody LoungerSeptember 25, 2010 at 4:24 am in reply to: Unbound text/combo boxes with subforms(a few q's #1246646Contrary to what I previously said, and although I haven’t tried it, you can have multiple criteria in the subform links if you separate them by a semicolon.
you may like to try that. -
WSkentg
AskWoody LoungerDoes it populate the BCT when you select a system?
The before insert won’t fire until you enter your first bit of data on the form.
if you need it to populate when you move to a new record then you need to use a command button to goto the new record and run the code
-
WSkentg
AskWoody Loungerthe variables should be module level not global as they are only used by this form.
Don’t try and set the default property at runtime, it screws up in later versions of Access.
the code behind your form should look like this –
Code:Option Compare Database Option Explicit Private mstrEBC_Code As String, mlngPCM_Number As Long Private Sub Form_AfterUpdate() mstrEBC_Code = Me.Select_BCT ' EBC Code mlngPCM_Number = Me.Select_PCMs ' PCM ID End Sub Private Sub Form_BeforeInsert(Cancel As Integer) Me.Select_BCT = mstrEBC_Code Call Select_BCT_AfterUpdate Me.Select_PCMs = mlngPCM_Number End Sub Private Sub Select_BCT_AfterUpdate() Me.Select_PCMs.Requery End Sub
-
WSkentg
AskWoody LoungerI actually put the code in cmdNew_Click not in the Form_BeforeUpdate event, see if this makes a difference.
-
WSkentg
AskWoody LoungerstrEBC_Code should be a module level variable and you should name it mstrEBC_Code to make this obvious in your code.
a better test for Not isnull(strEBC_Code) would be to concatenate the variable with an empty string This will tell you that it’s neither null nor an empty string.
I’m assuming that Select_PCMs uses Select_BCT as a filter
also, the current event won’t fire on a new record so you need
Code:if strEBC_Code & "" "" then Me.Select_BCT.Value = mstrEBC_Code call Select_BCT_AfterUpdate
now to “With these additions to the events already defined to requery the second Combo Box all controls are locked and I can not enter or change variables.”
do you mean you can’t enter values into the controls? If so I can’t see why, can you post a stripped out database with the form and just enough data for me to look at.
![]() |
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
-
Looking for personal finance software with budgeting capabilities
by
cellsee6
23 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
9 hours, 1 minute ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
13 hours, 22 minutes ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
21 hours, 58 minutes ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
12 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
6 hours, 20 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
17 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
2 days, 8 hours ago -
50 years and counting
by
Susan Bradley
21 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
1 day, 15 hours ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
2 days, 19 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
2 days, 19 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
2 days, 19 hours ago -
OneNote and MS Word 365
by
CWBillow
2 days, 21 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
2 days, 21 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
2 days, 22 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
13 hours, 31 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
3 days, 9 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
3 days, 9 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
3 days, 18 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
3 days, 6 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
2 days, 7 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
4 days, 3 hours ago -
Apple backports fixes
by
Susan Bradley
3 days, 10 hours ago -
Win 11 24H2 will not install
by
Michael1950
2 days, 7 hours ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
1 day, 1 hour ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
2 days, 16 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
1 day, 4 hours ago -
Get back ” Open With” in context menus
by
CWBillow
4 days, 18 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
3 days, 10 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.