>I have a directory named 854000. In this diectory I have many files starting with the number 854. From my app I want to list in a combo box all the files named 854427. I know there are two of them 854427a.pdf and 854427b.pdf. What is the best way to do something like this?
Along with ADIR() function, another way may be to set the combobox.RowSourceType = 7 -Files and set combobox.RowSource = "854427*.pdf"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison