-
WSMarkLiquorman
AskWoody LoungerSeptember 22, 2016 at 4:30 pm in reply to: Getting Run-time error ‘3061’ Too few parameters. Expected 1. #1578787In the future, it is often prudent to have an intermediate line of code like this:
strSQL =”SELECT Dept, ” & dbField & ” FROM ” & rTable & ” ORDER BY Dept”
Set RSD = DBR.OpenRecordset(strSQL, dbOpenDynaset)This way when that “SET RSD =…” line errors, you can easily look at contents of strSQL and see what it contains. The more complicated the formulation, the more likely you’ll make an error. Let me rephrase that, the more complicated the formulation, the more likely that I’ll make an error!
-
WSMarkLiquorman
AskWoody LoungerI don’t see how “[NameID]=” & Me![BorrowerName] would work, unless perhaps BorrowerName is the name of the combobox and that the ID is the bound column?
Any time you are formulating WHERE clauses, you need to be aware of the data types for the fields you are using. Obviously [NameID] is probably a numeric field, so quotes aren’t needed to use 7 and not ‘7’. Quotes are needed around text fields, and you must use the # symbol around date fields.
As a word of caution, you should get out of the habit of naming fields in your tables with reserved words (like Name) that Access uses for Property, methods, or function names. So instead of your Name field, you should use BorrowerName, etc.
-
WSMarkLiquorman
AskWoody LoungerThe Where clause should be “NameID=7”.
-
WSMarkLiquorman
AskWoody LoungerPretty simple. Assuming you know the location and name of the file in question (let’s assume it is in a variable named strFullFileName), the code behind the button to view the file would be:
Application.FollowHyperlink strFullFileName
Windows will open it in the application that is the default for that file type.
-
WSMarkLiquorman
AskWoody LoungerRui,
I found the Group Policy Editor, and I found a bunch of options which were “not configured”. Unfortunately, I don’t have a clue on what any of they do! But I don’t want to be a Windows administrator, and this should not be that difficult for the average user! It’s just annoying.
-
WSMarkLiquorman
AskWoody LoungerThe latest is 14393.10, which are you on? (run>winver)
The latest build came out a few days ago…Win 10 Pro Build 10586.494! But again the question, if it is doing automatic updates, why don’t I have current build?
-
WSMarkLiquorman
AskWoody LoungerThere should be a link immediately below “Available updates will be…” which says “Change active hours”. Not sure which build introduced this concept. It may not be in the build you are running.
I definitely don’t see that. I just upgraded 2 weeks ago, so I’d assume I got the latest build at the time. And since it appears to be updating automatically, why wouldn’t I have the latest one now?
-
WSMarkLiquorman
AskWoody LoungerTrev,
I don’t see that option. All I see is a statement “Available updates will be downloaded and installed automatically.” I can’t see where to change that. -
WSMarkLiquorman
AskWoody LoungerJuly 20, 2016 at 3:18 pm in reply to: Access 2013 – need help transferring before update event in form to its subform version #1570891The Before Update event is part of the form itself, and should operate whether the form is opened directly or as a subform. There are no events on a subform control (other than Enter/Exit).
-
WSMarkLiquorman
AskWoody LoungerThe first problem you have is with “WHERE Field1 = null”; this needs to be “WHERE Field1 Is Null. Any expression such as Field1 = Null equates to Null and not True/False; it doesn’t matter what Field1 is.
The only explanation is that to present the the query in the query design view, Access must create the Rows 1 and 2 you showed; but apparently it isn’t good at putting them back into the original SQL Where clause.
-
WSMarkLiquorman
AskWoody LoungerI’d keep that “Life Membership” field. I think it is an important piece of information. I dislike using artificial entries (like 2525).
-
WSMarkLiquorman
AskWoody LoungerExactly where did you put this Validation Rule? You could put it in the [meter] field in the table. In a form, you’d put code in the Form’s BeforeUpdate event to check for this.
-
WSMarkLiquorman
AskWoody LoungerDo you know about conditional formatting? This can handle your situation without any code.
-
WSMarkLiquorman
AskWoody LoungerIn addition to what Wendell mentioned, make sure you haven’t tried to format the field. Also, make sure the detail section “Can Grow” property is True.
-
WSMarkLiquorman
AskWoody LoungerBasically you first need a query that returns a single record for each Client and Date, then that is the source for your final query. Something like this:
SELECT ClientID, Count(EventDate) AS UniqueDays FROM (SELECT DISTINCT ClientID, EventDate FROM Events) GROUP BY ClientID
![]() |
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
-
Forcing(or trying to) save Local Documents to OneDrive (Awaiting moderation)
by
PateWilliam
1 hour, 54 minutes ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
2 hours, 33 minutes ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
3 hours, 17 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
12 hours, 49 minutes ago -
Apple backports fixes
by
Susan Bradley
3 hours, 20 minutes ago -
Win 11 24H2 will not install
by
Michael1950
13 hours, 3 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
12 hours, 34 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
14 hours, 41 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
12 hours, 50 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
1 day, 1 hour ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 5 hours ago -
simple general stupid question
by
WSaltamirano
23 hours, 30 minutes ago -
April 2025 Office non-Security updates
by
PKCano
1 day, 16 hours ago -
Microsoft wants to hear from you
by
Will Fastie
16 hours, 37 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
1 day, 20 hours ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
2 days, 1 hour ago -
Test post
by
Susan Bradley
2 days, 3 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 days, 5 hours ago -
SSD shuts down on its own
by
CWBillow
1 day, 20 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 13 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 15 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
1 day, 15 hours ago -
Today is world backup day
by
Alex5723
2 days, 7 hours ago -
Windows .exe on Mint
by
Slowpoke47
12 hours, 16 minutes ago -
Reviewing your licensing options
by
Susan Bradley
1 hour, 39 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
1 day, 12 hours ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 day, 8 hours ago -
Making sense of Settings in Windows 11
by
Simon Bisson
1 day, 9 hours ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
2 days, 13 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
2 days, 11 hours ago
Recent blog posts
- MS-DEFCON 2: Seven months and counting
- Apple backports fixes
- April 2025 Office non-Security updates
- Microsoft wants to hear from you
- Reviewing your licensing options
- Apple has been analyzing your photos since September 2024
- What Windows 11 24H2 offers beyond bugs
- Making sense of Settings in Windows 11
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.