-
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
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
45 minutes ago -
Stay connected anywhere
by
Peter Deegan
4 hours, 48 minutes ago -
Copilot, under the table
by
Will Fastie
1 hour, 21 minutes ago -
The Windows experience
by
Will Fastie
1 hour, 35 minutes ago -
A tale of two operating systems
by
Susan Bradley
3 hours, 33 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
6 hours, 55 minutes ago -
Where’s the cache today?
by
Up2you2
22 hours, 15 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
15 hours, 1 minute ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
5 hours, 59 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
22 hours, 56 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 15 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 15 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 17 hours ago -
MS Passkey
by
pmruzicka
19 hours, 1 minute ago -
Can’t make Opera my default browser
by
bmeacham
2 days ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 11 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 23 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 19 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 4 hours ago -
AI slop
by
Susan Bradley
22 hours, 17 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 5 hours ago -
Two blank icons
by
CR2
13 hours, 49 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
15 hours, 47 minutes ago -
End of 10
by
Alex5723
3 days, 17 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 15 hours ago -
test post
by
gtd12345
3 days, 23 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 13 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 15 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 3 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 15 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.