Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / September 2005

Tip: Looking for answers? Try searching our database.

Link to file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Revis - 30 Sep 2005 01:45 GMT
Hi group,
Access 2000 win xppro

I can create a command button that will open a file based on the data in a
textbox. The textbox displays 1234 and clicking on the button will open the
file named 1234 in the folder specified.

The file can be of any type .pdf, .txt, .doc, etc.

Is there any way to have the program check to see if a file exists in that
folder and have the button disabled if there is no file?

As always any thoughts, suggestions or comments are welcome.

Mike
PC Datasheet - 30 Sep 2005 02:31 GMT
Take a look at the Dir function in the Help file.

Signature

                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

> Hi group,
> Access 2000 win xppro
[quoted text clipped - 12 lines]
>
> Mike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.