Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2005, 10:34 PM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default Browse to File Control?

Is there an Access control that behaves like a standard File Browser dialog, like when you want to upload a document to an email etc.?

I have a field in my database which holds absolute paths to documents, and I'll be using a hyperlink to display the data, so people can just click on the link to open the file in its native application. But I'd also like for people to be able to be able to populate the field by browsing to the document on the network and after selecting it, its path gets stored in the DB.

Is there such a control available? Maybe ActiveX? This is an Access 2000 application.

Thanks.

Aaron

 
Old August 29th, 2005, 07:45 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

There should be an file browser activex that came with Access 2000. You will just have to make sure that it is registered on your development machine, and on each user's machine.
Alternatively, you can script one, and associate the file froma drop down list. This will work without activex.

mmcdonal
 
Old August 29th, 2005, 12:20 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

See the "Access Cookbook, 2nd Ed." by O'Reilly, ISBN: 0596006780 page 333, 7.8 Fill a list box with a list of files. This shows you how to make a file browser form, and you can capture the filename and path selected.

HTH


mmcdonal
 
Old September 13th, 2005, 01:05 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would recommend using the windows standard commom dialog.

chech out how here

http://www.mvps.org/access/api/api0001.htm

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a file browse dialog box gaurisharya Beginning VB 6 4 April 30th, 2008 12:43 AM
To browse a file from client system Indraja ASP.NET 2.0 Basics 2 May 3rd, 2007 07:56 AM
how to browse a file from computer for attachment? rocksbhavesh ASP.NET 1.0 and 1.1 Professional 2 March 26th, 2007 08:47 AM
Browse File mgnishan PHP How-To 2 March 23rd, 2007 01:54 PM
Using Form control to browse records vmerc Access VBA 3 October 29th, 2004 10:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.