-
WSsiflaar
AskWoody LoungerThanks
-
WSsiflaar
AskWoody Lounger -
WSsiflaar
AskWoody LoungerCCS– yes CSS I meant.
Thanks for the tip Ivan -
WSsiflaar
AskWoody Lounger -
WSsiflaar
AskWoody LoungerThanks again Leif (and I’ll thank you allready for the upcomming answers
)
I looked at it myself, and yes this is also something I need to study more, great info
(ps, just follow me, and you will see the most srtangest places)
-
WSsiflaar
AskWoody LoungerThanks Mary
-
WSsiflaar
AskWoody LoungerHello Leif,
What should I do without you -
WSsiflaar
AskWoody LoungerThanks Leif,
-
WSsiflaar
AskWoody LoungerBart,
I’m teaching MS Office programs to endusers and Helpdesk people.
(zie ook je private mail voor meer info) -
WSsiflaar
AskWoody LoungerThats’s okay Bart, I’m arealy glad that you help me. I’m learning a lot.
Thanks for the instructions. It is working good now.
Keep up the good work. -
WSsiflaar
AskWoody LoungerWhen I debug te code (return to the code screen after the error) it highlights te following line:
Set rsold = db.OpenRecordset(“EHC”, dbOpenSnapshot)
-
WSsiflaar
AskWoody LoungerOkay Bert,
I’m doing this for the firts time now (realy working with VBA) and have modified your listing as follows:Dim db As Database
Dim rsold As Recordset
Dim rsnew As Recordset
Set rsold = db.OpenRecordset(“EHC”, dbOpenSnapshot)
Set rsnew = db.OpenRecordset(“RPT”, dbOpenDynaset)
With rsold
.MoveFirst
While Not .EOF
rsnew.AddNew
rsnew![ID] = ![ID]
Select Case ![Q1]
Case 0
rsnew![S0] = rsnew![S0] + 1
Case 1
rsnew![S1] = rsnew![S1] + 1
Case 2
rsnew![S2] = rsnew![S2] + 1
Case 3
rsnew![S3] = rsnew![S3] + 1
Case 4
rsnew![S4] = rsnew![S4] + 1
Case 5
rsnew![S5] = rsnew![S5] + 1End Select
rsnew.Update
.MoveNext
Wend
End With
Set rsnew = Nothing
Set rsold = NothingWhen I run the code I get en error:
Objectvariabele of blokvariabele With is niet ingesteld (Fout 91)
(Nederlandese versie!)Could you again help me?
-
WSsiflaar
AskWoody LoungerI had the feeling that only programming will give me the solution.
Thanks Bart, I will give it a try and let you know -
WSsiflaar
AskWoody LoungerYour solution is showing me per Q the values, but I need to see the values per ID
So for ID 1 I need to know how many times I have a 0 in Q1-Q12, and a 1 in Q1-Q12 and a 2…
And the same foor all other ID’s
e.g.
TBL:
ID Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12
01 0 3 1 0 5 0 5 3 2 0 1 1
02 0 3 5 5 3 0 0 4 5 0 0 3
03 0 4 4 5 5 4 4 4 4 4 5 4
…RPT:
————————–
ID 0 1 2 3 4 5
————————–
01 4 3 1 2 0 2
02 5 0 0 3 1 3
03 1 0 0 0 8 3
…I hope this example makes it all clear Bart?
-
WSsiflaar
AskWoody LoungerThis is not doing the trick I think Bart.
Maybe I was not clear.
I have 12 questions fields (Q1 – Q12). In every field there is a score from 0 to 5
In the list it must show per ID how many zeros there where (all the questions), how many ones, how many twos, …(In Excel I Can do it with a CountIf() function)
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Updates seem to have broken Microsoft Edge
by
rebop2020
2 hours, 40 minutes ago -
Wait command?
by
CWBillow
1 hour, 49 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
5 hours, 34 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
12 hours, 10 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
21 hours, 4 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
22 hours, 24 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
16 hours, 57 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 11 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 12 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
7 hours, 17 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
3 hours, 57 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 23 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 3 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 3 hours ago -
Unable to eject external hard drives
by
Robertos42
14 hours, 1 minute ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 hour, 42 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
7 hours, 35 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 7 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 10 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 13 hours ago -
Upgrade Sequence
by
doneager
3 days, 7 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 12 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 5 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 10 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 12 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 11 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 4 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 21 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
7 hours, 23 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 9 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.