wordpress statistics
  • Today is Monday, February 6, 2012

6 Responses to “External Files List in Hyperlinks”

  1. acary says:

    Hello~ I just downloaded the sample “External Files List in Hyperlinks” db which is a fantastic tool; however, I get a run-time error (type mismatch) when I select “yes” from the “include subfolders” combo box (returning me to “New_Search strtxt, Me!cboYN” in the below procedure. I am running MS Access 2000 on a Windows XP (sp3) machine. Any help is greatly appreciated! acary

    Private Sub cmdGo_Click()
    Dim strtxt As String
    ‘On Error GoTo cmdGo_Click_Err
    strtxt = Nz(Me![PathName], “”)
    New_Search strtxt, Me!cboYN
    Me![FilesListing_sub].Form.Requery

    cmdGo_Click_Exit:
    Exit Sub

    cmdGo_Click_Err:
    MsgBox Err.Description, , “cmdGo_Click”
    Resume cmdGo_Click_Exit
    End Sub

  2. a.p.r.pillai says:

    The bug is fixed now. You may download the Utility again.

  3. acary says:

    Hello~ First, I would like to say that this DB is a great tool and thank you for sharing it! I should have updated my original question — shortly after posting I believe I found the bug as well (I changed one of the values in the Y/N drop down from “-” to “-1″). However, I do have another question. I would like the user to simply enter his/her search criteria in the Path Name field, and the “GO” event look to a static location (Y:\General\DHSWiki\) For example, the user enters “news” in the Path Name field and the GO event returns all files located in the DHSWiki folder and subfolder(s) that include “news” anywhere in the filename. Anything you can do to assist is greatly appreciated! Thank you

  4. a.p.r.pillai says:

    As a quick solution you may change the middle line of the following Form_Load() event procedure:

    Private Sub Form_Load()
    Me!PathName = CurrentProject.path & “\*.*”
    End Sub

    to

    Me!PathName = “Y:\General\DHSWiki\*.*”

    You may include the Sub-Folder (News) by modifying the above line as Y:\General\DHSWiki\News\*.* and change the combobox setting to YES to include sub-folders under News folder.

  5. acary says:

    Hello again~ I will try your suggestion and post my results. Thank you for responding — I’ve been checking a couple of times a day :-)

  6. acary says:

    I am sad to report that it did not work — I get the following compile error: Expected: line number or label or statement or end of line. Unfortunately, I do not code and cannot resolve the error. Again, any assistance is greatly appreciated. Note: I do not have a subfolder named “news.” What I would like to do is provide a field for the user to enter a search word (eg: “news”) and the GET FILES” event will return a list of any and all files located in Y:\General\DHSWiki\ (including subfolders therein) with the word “news” anywhere in the filename. Again, any assistance is greatly appreciated :-)

Leave a Reply

You must be logged in to post a comment.