If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Question regarding list boxes
Using Access 2003, is it possible to display all files in a folder inside a
list box? so if i had a folder with 10 pdf files in it, the list box would display all the files? or do i have to type the name of each pdf file into the list box manually? |
#2
|
|||
|
|||
Question regarding list boxes
See:
List files recursively at: http://allenbrowne.com/ser-59.html To list all the PDF files in C:\MyFiles, in a list box named List0 on Form1, the code would be: Call ListFiles("C:\MyFiles", "*.pdf", False, Forms!Form1!List0) -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "StuJol" wrote in message ... Using Access 2003, is it possible to display all files in a folder inside a list box? so if i had a folder with 10 pdf files in it, the list box would display all the files? or do i have to type the name of each pdf file into the list box manually? |
Thread Tools | |
Display Modes | |
|
|