>Can i do this??
>
>
>
>what i want is that i want to open a .frx file, when use GetFile, i want to fill up the file name column as well.. like rptlist*
>
>
>
>this can be done by Locfile.. but then it return the full path... i want the file name only..
>
>
>
>any idea.. what can i do???
>
>
>
>thank in advance
To get a list of all the FRX files, you can use:
lnRetVal = ADIR(laReports, "path_to_frx\*.frx")
for i = 1 to lnRetVal
laReports[i, 1] = strtran[laReports[i, 1], ".FRX", ""]
endfor
This will give a list of all the FRX files returned to the array laReports. You can then make this array the source of a combobox to select from.
Mark McCasland
Midlothian, TX USA