-
WSBryan
AskWoody LoungerI’m guessing you have your Public VarName As String in the code module for a form.
Move it to a standard code module – should be ok then -
WSBryan
AskWoody Loungeroops!
yes you’re right of course – think thats whats called lack of testing.
Should have used year*12 + month which should give unique numbers
-
WSBryan
AskWoody Loungerthis creates a couple of dummy fields coverting date to a number and then matching on them. I’ve set it just to calc one field . Don’t know how long it might take with lots of fields on a big file .
-
WSBryan
AskWoody LoungerThere is a method of moving the report footer down the page discussed by Helen Feddema in Woodys Access Watch 4.01 or on Helen’s site as her Access Archon column #97
-
WSBryan
AskWoody Loungerhttp://support.microsoft.com/search/previe…b;en-us;Q243514%5B/url%5D gives the following
Cannot delete Foldername : Access is denied. The source file may be in use.
CAUSE
This behavior occurs because the Recycle Bin does not understand mounted volumes. For example, assume that the following drive layout is in use:C: — 1-gigabyte (GB) drive using the NTFS file system
C:Host-dir — The mount point for a separate 9-GB drive
When you try to delete a folder with the path C:Host-dirMydir, Windows Explorer interprets the folder as being on drive C and tries unsuccessfully to place it in the Recycle Bin on drive C.RESOLUTION
To work around this issue, use either of the following methods:When you delete the files or folders by using Windows Explorer, use the SHIFT+DELETE key combination. This bypasses the Recycle Bin.
Open a command prompt windows and use the rd /s /q command to delete the files or folders.
NOTE : Both of these methods permanently delete the data. You cannot recover the data unless you have a current backup.
*************************
I get this problem regularly but this mounted volume thing doesn’t make much sense. I just leave it and try deleting later – sometimes 5 min , sometimes after a reboot and they delete fine. Next time I’ll try shift+delete and see if that does it. -
WSBryan
AskWoody LoungerSorry Kerry, I should really have put some explanation with the posting.
If you look at cell B10 in the period 2 worksheet it has the formula
=INDIRECT(GetPrev(A1)&”!M28″)
GetPrev is a function I developed (with help from this site if I recall) which returns the name of the previous worksheet – in this case “period 1”. Ignore the A1 the function needs a cell address any one will do. So with that value “period 1” the formula now reads
=INDIRECT(“period 1!M28”)
which brings the carrry forward value from the period 1 sheet into period 2. Take a copy of period 2 and call it period 3 and the cell formula is copied but now returns period 2 as the previous worksheet. And so on – each copy you make it returns the previous sheet but the formula stays the same.
This gives the same result as copying the sheet then manually editing the formula in each one to read period 2, period 3 etc.
In cell C1 it uses the same fornula but adds 28 to move the start date to the next 4 week period.hope this makes it a bit easier to figure out.
-
WSBryan
AskWoody Loungerindirect means what it says – it is an indirect reference to cell C via cell B. Cell B must contain the address of cell C – thats just how the function works.
In your example INDIRECT(report!e17) , the function is looking for an address in E17 and is getting $100 which it can’t resolve to an address. -
WSBryan
AskWoody Loungerthis is a file I use for our flexitime system.
The fomula (+ code) for cells c1 & b10 in period2/3 might help you towards what you want -
WSBryan
AskWoody Loungeri would suggest you get down to the simplest test possible.
Go to the immediate window in VBA editor and type?right(“abcdef”,3)
which should reply
def
if it does there is nothing wrong with Right() and you need to dig deeper as Charlotte suggested
-
WSBryan
AskWoody LoungerCheck out Helen feddema’s site – http://www.helenfeddema.com/access.htm%5B/url%5D
Article 97 discusses various ways of doing what you want
-
WSBryan
AskWoody LoungerWell they’ve gone but still not sure what the problem was. Best guess it was a problem with the PDC as they went just after we had to reboot it. Logon scripts were definately being sync’d so can only assume it was some glitch stopping the machine list being sync’d and the reboot cured it.
thanks for your help
-
WSBryan
AskWoody LoungerThanks for your help Lief. I’ll give these a look through and let you know.
-
WSBryan
AskWoody LoungerThe ones I’m looking at are all servers. There may well be workstations in a similar situation but to be honest there are too many of them to check which are still active.
thanks
-
WSBryan
AskWoody LoungerThanks Lief but no go. I’ve gone round each of the BDCs + PDC and still no joy. I know they;ve sync’d cos other changes I’ve done have gone round.
Any other ideas cos I’m stumped. -
WSBryan
AskWoody Loungerthere’s a freebie mind map on Son of Spy
http://www.sover.net/~whoi/Apps2.html%5B/url%5D
don’t know how good it is but might be of use
![]() |
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
-
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
5 hours, 29 minutes ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
5 hours, 31 minutes ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
9 hours, 26 minutes ago -
New PC transfer program recommendations?
by
DaveBoston
3 hours, 47 minutes ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
13 hours, 30 minutes ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
13 hours, 32 minutes ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
1 hour, 51 minutes ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
11 minutes ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
11 hours, 41 minutes ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
1 day, 8 hours ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
6 hours, 25 minutes ago -
System Restore and Updates Paused
by
veteran
1 day, 11 hours ago -
Windows 10/11 clock app
by
Kathy Stevens
22 hours, 7 minutes ago -
Turn off right-click draw
by
Charles Billow
1 day, 14 hours ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
1 day, 17 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
11 hours, 40 minutes ago -
Master patch listing for June 10, 2025
by
Susan Bradley
1 day, 19 hours ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
22 hours, 16 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
2 days, 1 hour ago -
KB5060842 Issue (Minor)
by
AC641
13 hours, 30 minutes ago -
EchoLeak : Zero Click M365 Copilot leak sensitive information
by
Alex5723
2 days, 8 hours ago -
24H2 may not be offered June updates
by
Susan Bradley
1 day, 1 hour ago -
Acronis : Tracking Chaos RAT’s evolution (Windows, Linux)
by
Alex5723
2 days, 21 hours ago -
June 2025 updates are out
by
Susan Bradley
2 hours, 30 minutes ago -
Mozilla shutting Deep Fake Detector
by
Alex5723
3 days, 11 hours ago -
Windows-Maintenance-Tool (.bat)
by
Alex5723
2 days, 21 hours ago -
Windows 11 Insider Preview build 26200.5641 released to DEV
by
joep517
3 days, 14 hours ago -
Windows 11 Insider Preview build 26120.4250 (24H2) released to BETA
by
joep517
3 days, 14 hours ago -
Install Office 365 Outlook classic on new Win11 machine
by
WSrcull999
3 days, 14 hours ago -
win 10 to win 11 with cpu/mb replacement
by
aquatarkus
3 days, 6 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.