-
WSasegelstrom
AskWoody LoungerFebruary 11, 2003 at 3:46 pm in reply to: Using FileSystemObject to upload Word docs (Access 2000) #652602Ok, I guess I am going to need more help. I tried copying and pasting the code from that post you listed above and I am not even sure where I went wrong, all I know is it didn’t work.
I guess to start out, I would like to create a button to upload one document at a time from the user’s machine up to the server where the database is located. I’ve been trying to read all I can about the FileSystemObject and it’s properties and methods, but I don’t see anything about opening a “dialog box” and allowing the user to select the file they want to upload. Can anyone elaborate further and provide some well documented code to get me started?
Thanks!
Amanda
-
WSasegelstrom
AskWoody LoungerWorked like a charm! Thanks so much!!
Regards,
Amanda
-
WSasegelstrom
AskWoody LoungerNope. Still shows up, grayed out. Strange huh? I did the CanGrow=True and CanShrink=True to the subform properties and where the sub report appears in the main report. Bummer.
-
WSasegelstrom
AskWoody LoungerHummm…ok, I see where you are talking about the Transparent, but it is “grayed out” and I can’t select it. I can only select a color…I selected white, but it was what was already selected so it didn’t make a difference.
Any more ideas?
Amanda
-
WSasegelstrom
AskWoody LoungerCecilia,
Set what to transparent? The background on the sub report? Or the element on the main report that brings links to the sub report (if you can even do that…?)
I’m so dumb when it comes to Access…
Thanks,
Amanda
-
WSasegelstrom
AskWoody LoungerI just went out and looked at the example you posted – it was exactly what I was looking for! Thanks Hans!! And thanks to everyone else that helped me! I’ve got it working now.
-
WSasegelstrom
AskWoody LoungerOk, I am not sure I am following you. Right now, the form is set up with the list box (RRAListing) and 3 combo boxes. I am using the AfterUpdate event on the combo boxes to set the RowSource of RRAListing. Like this:
RRAListing.RowSource = “RRAReportsList1”
where RRAReportsList is a query set up in access.
Each combo box has it’s own query so each AfterUpdate event of each combo box sets RRAListing.RowSource to a different query (ex. RRAReportsList1, RRAReportsList2, etc.) I want to create some buttons that will allow me to sort the query results show in RRAListing list box. You are saying I can append “ORDER BY” to the end of the existing SQL? Can you show me some code so I can see what you are talking about?
Thanks,
Amanda
-
WSasegelstrom
AskWoody LoungerJanuary 9, 2003 at 3:01 pm in reply to: Setting a Dynamic Data Source in Access 2000 (MN Access 2000) #643875Great idea! I think I’m going to split the actual DB from the forms and reports that use it. Thanks so much, you are AWESOME!
Regards,
Amanda
-
WSasegelstrom
AskWoody LoungerJanuary 8, 2003 at 7:38 pm in reply to: Database Window, Hidden when Database is opened (MS Access 2000) #643579Thanks so much guys! I understand the the approach of not letting them see the Database Window – trust me, I’ve been burned before too. But, when you are a small pawn like me there isn’t much I can say to make them change their minds (other then laugh in the faces when they delete a table…)
Thanks again,
Amanda
-
WSasegelstrom
AskWoody LoungerJanuary 8, 2003 at 7:18 pm in reply to: Setting a Dynamic Data Source in Access 2000 (MN Access 2000) #643563Charlotte,
Yeah, when I say “application” I’m talking about the actual database itself and the forms and reports that are included in it. There are some cases in a form where I am calling the function to create and open the Conn object so can use it to grab a recordset from the tables in the database so I can manipulate and use in the in VB behind the form. So the database is accessing itself I guess – does that make sense? Anyway, so on the Conn.Open the DataSource is set to location of the database itself. But then I can’t move the database into another directory without changing the data source in code. So, is there anyway for the database to “know” where it is and input that dir/path into the Data Source? I was thinking about the DAO use of CurrentDb, but then I’ve got to go through all of the code behind the forms and reports and look at how I am using the Conn object and redo it to fit with the DAO format. If this doesn’t make sense let me know and I will try to explain it better….
Thanks again!
Amanda
-
WSasegelstrom
AskWoody LoungerCharlotte,
I’m sorry, guess it didn’t occur to me that I could change the subject otherwise I would not have cross-posted the question. Oops!
Everyone,
I am going to close the connection in the unload of the form again and see if it fixes the problem. I think I tried that already, but it is worth another try…
Thanks for everyone’s help! I don’t know if I have ever found another thread that is so helpful and responsive!
Amanda
-
WSasegelstrom
AskWoody LoungerYup, tried compacting and repairing too. No luck. *sigh* I’m about ready to go crazy! Just can’t figure it out…..
Thanks for everyone’s continued help!
-
WSasegelstrom
AskWoody LoungerYup, closed and re-opened the DB a couple of times just to be sure.
Thanks for you help. I really do appreciate it.
Regards,
Amanda
-
WSasegelstrom
AskWoody LoungerRory,
1. Yes, Conn is declared outside the procedure and is Global
2. I am not sure why I am putting the function call in Current instead of Open or Load….?? Must have been developing and put it there by mistake. Good catch!
3. I commented out he GetDBConnection = Conn line (good catch again!) but am still stuck with the same problem. I am still getting the runtime error when I switch from design mode to view mode.Is there a setting in Access that I may be missing that would not lock the database when a form (or other object) is in design mode? I still think that the database is getting locked while it is in design mode and then when I flip back to view mode and the VB ADODB connection string tries to execute it fails because the database is still locked from it previously being in design mode.
Any ideas?
Regards,
Amanda
-
WSasegelstrom
AskWoody LoungerI tried that already too (closing the Conn object), but I don’t think the Conn object itself is causing the problem. The database seems to be getting locked while in design mode through it’s own processes, not through the VB connection that I created (cause VB code attached to a form is not executed if you are in design mode). Then, when I flip into view mode, the VB Connection I created gets executed, but because the database is locked (from previously being in design mode) the connection I try to create in VB causes the error because it cannot connect to the database because it is locked. So, how do I close or cancel the lock that was placed on the database while I was in design mode? Is there a setting somewhere that would change how a database is locked when a user has it in design mode?
Man, I am stumped … thanks for all of the help, and if you (or anyone else for that matter) have any other ideas, PLEASE let me know.
Regards,
Amanda
![]() |
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
-
Where’s the cache today?
by
Up2you2
52 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 hours, 32 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
2 hours, 52 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
7 hours, 33 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
12 hours, 40 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
12 hours, 47 minutes ago -
regarding april update and may update
by
heybengbeng
14 hours, 16 minutes ago -
MS Passkey
by
pmruzicka
2 hours, 4 minutes ago -
Can’t make Opera my default browser
by
bmeacham
21 hours, 56 minutes ago -
*Some settings are managed by your organization
by
rlowe44
8 hours, 39 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
20 hours, 51 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 16 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
AI slop
by
Susan Bradley
15 hours, 38 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 2 hours ago -
Two blank icons
by
CR2
14 hours, 33 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 11 hours ago -
End of 10
by
Alex5723
2 days, 14 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 12 hours ago -
test post
by
gtd12345
2 days, 20 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 10 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
12 hours, 53 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 12 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 16 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 16 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 4 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 18 hours ago -
Are manuals extinct?
by
Susan Bradley
18 hours, 45 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 3 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.