>I have a Listbox in VFP and want the complete path when listing
>files. RowSource = 7 (Files) The value only returns the name of
>the database name selected. And Fullpath() finds the file where it
>is listed on a different drive.
>
>I want the value to contain "c:\comm\in\dealer.dbf" but the value
>parameter only returns "dealer.dbf" And using Fullpath finds the
>file dealer.dbf in another directory.
One approach would be to populate an array with ADIR(), and then scan the array, prefixing the names with the path. Use the array as the rowsource for the listbox.