-
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
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
6 hours, 2 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
1 hour, 45 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
4 hours, 36 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
4 hours, 45 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
5 hours, 28 minutes ago -
Rufus is available from the MSFT Store
by
PL1
2 hours, 56 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 5 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
12 hours, 12 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
8 hours, 23 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 1 hour ago -
Office gets current release
by
Susan Bradley
1 day, 4 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 18 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 2 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 19 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 4 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 7 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 7 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 8 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 8 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 20 hours ago -
Enabling Secureboot
by
ITguy
3 days, 3 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 16 hours ago -
No more rounded corners??
by
CWBillow
3 days, 12 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 2 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 4 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 7 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
4 days, 2 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 14 hours ago -
May preview updates
by
Susan Bradley
4 days, 2 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 17 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.