-
WSCecilia
AskWoody LoungerThanks, Hans.
I think I just needed your special hand-holding. I thought that I had tried that before, and couldn’t get it to work. But now it works like a charm! The only line that was needed was the one in the OnCurrent of the subform,
Me.Parent.txtRecordCount = Me.Recordset.RecordCount
The only thing different here is the word “Parent” which probably did something magical.
As always, a big THANK YOU!!!
-
WSCecilia
AskWoody LoungerAccording to our tech people, they’ve freed us from all of this. So sandbox mode shouldn’t be a problem. If, for some reason, they’re not telling us the whole truth, there’s nothing I can do about it.
In the event that the second is truer, is there an event that I can use to update my recordcount? I can’t get a dcount expression to run from that textbox either, but I can use code on the form to have the recordcount display on load. The piece I’m missing is how to update the recordcount when the filter changes (ie. what event is triggered for filter changes).
-
WSCecilia
AskWoody Lounger=[frmTrack].[Form].[Recordset].[RecordCount]
Gosh, you’re speedy 😉
I just attached an example. It’s ugly, but it shows what I’m trying to do. I want to filter the subform and have a recordcount on the main form that shows how many records above are displayed.
-
WSCecilia
AskWoody LoungerHi Hans,
So this solution was working fine for a few days, then suddenly it stopped working. I have NO clue about what changed (except that two weeks ago we upgraded to Office 2003). Now all I get is #Name?
I have tried everything I can think of, but the only way I can get this to work is a one-time use of the recordcount with no filter applied. I can’t find any event that allows me to update the recordcount on the main form when the subform is filtered.
Any ideas?
-
WSCecilia
AskWoody LoungerWell, I found the key, it’s exactly there as you said….
Since I am a disgruntled fed employee, I tried deleting the keys, but apparently they have it locked down. I couldn’t modify a thing.
Actually, I’m surprised that I could even open the registry to view it!
Thanks for your detective work, Mike!
At least I know what the issue is.
Now the bigger of issue of WHY they think they need to control us so badly is another issue altogether
…. Maybe it’s time to find a new job.
Thank you, everyone, who put effort into this endeavor!!!
-
WSCecilia
AskWoody LoungerMy player doesn’t seem to have that bar:
-
WSCecilia
AskWoody LoungerHi Sammy,
Thanks for the try, but apparently your agency is much kinder than mine. I did (again) exactly the steps you suggested. “Show Menu Bar” is definitely selected, yet there is no menu bar. (In other words, whether I click Show Menu Bar or Hide Menu Bar, there is absolutely no difference.) So I don’t even get a menu bar to be able to get to the taskbar.
Does that make sense?
-
WSCecilia
AskWoody LoungerHans, I was about 15 seconds away from asking you to marry me (because of all the help you’ve given me over the past few years), but after a comment like that….
Anyway, thanks again for your help, and have a great day!
-
WSCecilia
AskWoody LoungerThanks, Hans.
I have no choice of Full Mode, Skin Mode, or Skin chooser like you have. All the rest *appears* to be the same.
I wouldn’t put it past the gov’t to limit my options down to nothing. I am two seconds away from getting on my soapbox about the communist US gov’t, but unfortunately that won’t get me anywhere with the problem at hand.
-
WSCecilia
AskWoody LoungerHi Hans! How did I know it would be you to come to my rescue!
No, there is no View–>Full Mode option. Under View, there is a greyed out Full Screen option, but Full Screen (even when available) doesn’t get me to full mode. There is a View–> Menu Bar Options under which there is a Hide Menu Bar and a Show Menu bar choice. Hiding or showing doesn’t appear to make any difference at all.
1 doesn’t do anything. F1 pulls up help, which is no help.
There is also a View–>Now Playing options, which has checkmarks for showing Title, Media Information, and Playlist (all separate choices). I have them all checked, but none of them appear. Unchecking them doesn’t change a thing.
There are all these visualizations in the main (and only) screen, if only I could see the playlist there instead of silly graphics….
-
WSCecilia
AskWoody LoungerFunny feeling it’s a bug. The way I was able to get around it was to write code to delete and re-create the same docvariable. Of course it couldn’t delete it, and creating it didn’t really do anything, but now the variable is recognized. Strange.
Thanks for your help, as always, Hans!
-
WSCecilia
AskWoody LoungerThisDocument doesn’t help. It still thinks that that variable isn’t there. But it really is there!!!
Grrrrrrrrr.
-
WSCecilia
AskWoody LoungerAs always, Hans to my rescue!
Just after I posted this, I realized that it was the initialize event that was actually causing the error (although it stops on the load line. grrrr). Here’s the code:
Private Sub UserForm_Initialize()
On Error GoTo HandleErrorMe.txtAcctNum.Text = ActiveDocument.Variables(“AcctNum”).Value
Exit Sub
HandleError:
Select Case Err.Number
Case Else
MsgBox Err.Number & ” ” & Err.Description
End SelectEnd Sub
Keep in mind that I added the error handling a few minutes ago to verify that this was actually causing the error. But I still haven’t a clue what the problem is, as the variable “AcctNum” is still in the active document, and it still contains data. When I added the error handling to this, I was able to proceed, and the rest of my variables appear to be behaving, none of them give me an object deleted error. Deleting the variable and putting it back in does not help one bit.
Sooo confusing!!!
-
WSCecilia
AskWoody LoungerThanks, Hans. Drank an extra cup of coffee and woke my brain up. Made a custom menu, set it to popup, moved my subs to a module and made them functions and good to go. Sometimes I just need someone to shake my brain.
-
WSCecilia
AskWoody LoungerHi! Have you tried deleting the temporary file (.ldb) from the server? You’ll still have to wait for everyone to get out, but that usually clears everything up for me.
![]() |
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
-
Practice what you preach! A cautionary tale.
by
RetiredGeek
9 hours, 3 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
1 day, 4 hours ago -
Win 11 24H2 Home or Pro?
by
CWBillow
15 hours, 15 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
1 day, 13 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
2 days, 1 hour ago -
Problem using exfat drives for backup
by
Danmc
2 days, 1 hour ago -
I hate that AI is on every computer we have!
by
1bumthumb
1 day, 3 hours ago -
Change Info in the Settings window
by
CWBillow
2 days, 8 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
2 days, 14 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
2 days ago -
Use of Gmail rejected.
by
CBFPD-Chief115
2 days, 1 hour ago -
WuMgr operational questions
by
Tex265
51 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
3 days, 6 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
2 days, 6 hours ago -
Backing up Google Calendar
by
CWBillow
3 days, 12 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
4 days, 1 hour ago -
File Naming Conventions (including Folders)
by
Magic66
2 days, 23 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
4 days, 8 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
3 days, 19 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
3 days, 1 hour ago -
Adding Microsoft Account.
by
DaveBRenn
4 days, 9 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
5 days, 9 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
5 days, 9 hours ago -
Windows 11 won’t boot
by
goducks25
3 days, 2 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
4 days, 23 hours ago -
Rest in Peace
by
Roy Lasris
6 days, 4 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
3 days, 1 hour ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
6 days, 4 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
2 days, 20 hours ago -
Long Time Member
by
jackpet
6 days, 7 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.