Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jadeiitti

    How list files from directory in listbox with "LIKE"

    Thanks JbinQLD & PHV Now it's works I would like. I added to ListBox also DblClick function so I can open these files. So final code to see file with value using code of Allen Brown: Purpose: to see if in directory are files with same value from field [Numero]. It’s a possibility to open each...
  2. jadeiitti

    How list files from directory in listbox with "LIKE"

    Hi, Sorry stupid question but where I put this 'strTrimmed' code to have result in ListBox?
  3. jadeiitti

    How list files from directory in listbox with "LIKE"

    Thanks, Thanks, Thanks It's works. Now, 1. I add .RowSource = "" to clean ListBox for evere record. So when I pass to next record I have new list of files. Private Sub Form_Current() Dim cartella, Categoria As Variant Dim strPath As String, strFileSpec As String cartella =...
  4. jadeiitti

    How list files from directory in listbox with "LIKE"

    Hi, After the night error is changed mind and is changed. Now it's error '94' Invalid use of Null. It's producing line: Call ListFiles(strPath, strFileSpec, Me.lstFileList) Debug is showing that: strPath = "fullpath" (OK) strFileSpec = "*0022038*.doc" Me.lstFileList = Null --code-- Private...
  5. jadeiitti

    How list files from directory in listbox with "LIKE"

    Hi, Thanks JBinQLD. 1. When I used Call ListFiles(MyPath,"*" & Format(Me!Numero, "0000000") & "*.doc") I don't get list in listbox at all. When I used Call ListFiles(MyPath,"*" & Format(Me!Numero, "0000000") & "*.doc", Me.lstFileList) I get error "Run-time error '13': Type mismatch. 2. In the...
  6. jadeiitti

    How list files from directory in listbox with "LIKE"

    Hi, I’m looking for some piece of code to list files in directory but with some filter. I must verify if I have simile files in directory. I tried to use the code from http://allenbrowne.com/ser-59.html but it’s not working like I would like. I tried get in “listbox” (lstFileList) files contain...

Part and Inventory Search

Back
Top