should be easy

binghamw

BingleyW
Local time
Today, 13:49
Joined
Apr 22, 2004
Messages
57
I have got a text box which displays the pathname and the file name txtLocated. There is a browse button beside the text box where you can select the file you want to be displayed in txtLocated.

However, I have another text box [txtFile] where I would like to JUST display the name of the file from txtLocated... without the pathname. Is there any way to set this up automatically so the user can select the file they want through the browse button and then have txtFile fill in automatically from the file in txtLocated?

Thanks.
 
Try dir(txtlocated), that only returns the filename (if found)

Regards
 

Users who are viewing this thread

Back
Top Bottom