-
WSghh3rd
AskWoody LoungerThanks for the reply, however, if I only include the * at the end, the query will only find strings beginning with, rather than ‘anywhere within’.
Randy
-
WSghh3rd
AskWoody LoungerThanks for all of the replies to this post.
Legare, your function seems to work very well for me. I wish I had the VB experience to whip up a solution like that, although I’m getting into VBA a lot in Access now.
Thanks again!
Randy
-
WSghh3rd
AskWoody LoungerDamon,
I’d love to give that a try, but am unfamiliar with them. Can you give me some pointers?
Thanks,
Randy
-
WSghh3rd
AskWoody LoungerThanks for the reply Hans, but none of those numbers work either. Here’s the function… maybe it’s something that I’m doing wrong. I can’t seem to trap the error number – have tried to display it in a msgbox and tried to debug.print it, but it doesn’t seem to generate one.
Function AppendCashControlExcel()
On Error GoTo AppendCashControlExcel_Err””DoCmd.SetWarnings False
DoCmd.TransferSpreadsheet acImport, 8, “CashControl”, “C:BCCRDatabaseCashControl.xls”, True, “ALL!”
DoCmd.SetWarnings TrueAppendCashControlExcel_Exit:
Exit FunctionAppendCashControlExcel_Err:
If Err.Number = 3022 Then
MsgBox “One or more records were omitted from the import because they had ” & _
“the same ‘Ref ID’, ‘Total’, and ‘GL TransactionDate’.” & vbCrLf & vbCrLf & _
“You may have attempted to load the prior day’s file again. Ensure that you ” & _
“have replaced the prior ‘CashControl.xls’ file with the current one.”, , “Processing Error”
Resume AppendCashControlExcel_Exit
End If
MsgBox Err.Number & ” ” & Error
Resume AppendCashControlExcel_Exit
End FunctionThanks,
Randy
-
WSghh3rd
AskWoody LoungerThanks Francois, but I’m actually not trying to determine the password. I already know it – I’m trying to use the Sub provided on a database that has a password that I created. I want to know if the Open method can be provided a known password so it will not result in a run time error.
Randy
-
WSghh3rd
AskWoody LoungerMACROPOD – Thanks! That’s one thing that I didn’t think of, which worked perfectly. I was able to retreive everything but one Sheet, which must be what was causing the problem. I’ll remember this for future reference.
Thanks to everyone else who replied to this post too.
Randy
-
WSghh3rd
AskWoody LoungerIn my post, above, I said “Another button, with “Me.FilterOn = False” turns the filter off.” I changed that to “DoCmd.ShowAllRecords” with the same result. Then I changed it to:
DoCmd.ShowAllRecords
DoCmd.ShowAllRecords
… and it works fine. That still doesn’t answer my question. And why should I have to enter this command twice to make it work?Thanks
-
WSghh3rd
AskWoody LoungerMay 17, 2002 at 7:56 pm in reply to: I need to knowall possible Access file extensions (All Versions) #588726Thanks, Douglas.
-
WSghh3rd
AskWoody LoungerMay 17, 2002 at 5:46 pm in reply to: I need to knowall possible Access file extensions (All Versions) #588708Thanks for clearing that up for me Mark.
Randy
-
WSghh3rd
AskWoody LoungerI just stumbled on the answer, and am posting it in case someone else needs it, now or later. If one is manually exporting to Excel from Access 2000, an option in the dialog box called
-
WSghh3rd
AskWoody LoungerCharlotte,
Thanks for the reply, and sorry about the confusion on the fields, there are many there but came accross differently. Anyway, I even tested by changing the field names to a,b,c,d,e,f… ect. and tried to export it to every flavor of Excel, with the same results – the information in the fields crossfoots, but is not in the correct fields. Strange thing is that I can copy the entire table and paste to Excel manually, and it’s fine!
I need some Access Headache Pills….
Thanks,
Randy
-
WSghh3rd
AskWoody LoungerMark –
Thanks. I did this in my very early days of Access, and Date will work fine, but it doesn’t solve my problem. I had also tried Me.Repaint before, and just now again, but that doesn’t do it either. The odd thing is that after I pass the field and then back tab to it, I can tell that it puts the date in focus because it makes a 1/2″ black bar in the field – if I press F2 at that time the date become visible.
Or, if I just tab past the field and save the record, the date is written to the record.
Why oh why won’t my date show in the first place?
Thanks,
Randy
-
WSghh3rd
AskWoody LoungerOk, I have several sites that have installed Access 2000. The users are not very PC friendly. Each site has many databases that have either been enabled in, or converted to Access 2000. I need to find out what the ‘state’ is of each database.
I suppose that they could try to create a new query, form, etc. and see if it let’s them, but that wouldn’t be conclusive evidence that it’s an enabled database since someone may have given them a database that prohibits that. But especially, I emphasize that they are not PC friendly; walking them through this for each database will be very time consuming.
I thought that their might be a way to tell programatically whether a database is enabled or converted. I thought of creating a module with the test and either having them import it to each database (I could have them select the database and export it from my utility), or perhaps perform the test directly from my test database.
I can’t find out if there even is such a property/test that I can use.
Thanks for your help.
Randy
-
WSghh3rd
AskWoody LoungerMarch 4, 2002 at 8:06 pm in reply to: Build DOS copy to allow spaces in destination file (A2K) #574180FYI: I learned from GHUDSON at http://www.forumco.com/jmhare/ that I could use chr(34) rather than using quote marks which solved my problem.
Thanks,
Randy
-
WSghh3rd
AskWoody LoungerMarch 2, 2002 at 1:36 am in reply to: Make a copy of the current database automatically (A2000) #573798Thanks for your reply. I will elaborate somewhat.
The entire process is broken up into several steps, all performed with it’s own respective button. I want to have the user complete some of the process, then make a copy of the database with a different name, where they will complete the process a bit differently than on the original database.
I currently have some code that creates a new empty database, and copies all of the objects to the new database. The problem with that is that References (the dirty word) need to be set up on the new copy. I don’t want to encumber my users with that task, so I figure that since making a copy of the entire database preserves the References, that would be the way to do.
I hope this clarifies what I am looking for. I thought of creating a utility with VB6.0 that the user could open from the database that would store the current path and mdb file name, and prompt the user for the new copy name. The user could then shut down the database and press the button on the VB form to make the copy, followed by code to automatically re-open the first database to complete the rest of the steps.
But I was wondering if anyone out there had a better idea.
Thanks again,
GHH3RD
Randy
![]() |
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
-
Josban: Innovacion y Tecnologia para Garantizar tu Seguridad (Awaiting moderation)
by
dericknowacki5
32 minutes ago -
W11 24H2 – Susan Bradley
by
G Pickerell
1 hour, 7 minutes ago -
7 tips to get the most out of Windows 11
by
Alex5723
8 hours, 45 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
5 hours, 15 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
2 hours, 14 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
4 hours, 34 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
27 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
12 hours, 49 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
14 hours, 10 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
1 day, 1 hour ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
1 day, 5 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 14 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
16 hours, 41 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
22 hours, 50 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
1 day, 9 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
3 days, 1 hour ago -
50 years and counting
by
Susan Bradley
1 hour, 18 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
2 hours, 14 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 12 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 12 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 12 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 14 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 14 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 14 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 6 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
4 days, 2 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
4 days, 2 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 11 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
3 days, 23 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
3 days 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.