populate textbox with file path

  • Thread starter Thread starter Iona
  • Start date Start date
I

Iona

Hi, i've read all the posts on how to populate textbox with file path,
but just can't get it.
I'm using the api to open a file dialog box, this then generates a
messagebox with the file path. So my question is how do I get this file
path and show it in my textbox, not the messagebox. I just don't know
enough programming to do this. any pointers would be very much
appreciate.d

kind regards
iona
 
Hi, i've read all the posts on how to populate textbox with file path,
but just can't get it.
I'm using the api to open a file dialog box, this then generates a
messagebox with the file path. So my question is how do I get this file
path and show it in my textbox, not the messagebox. I just don't know
enough programming to do this. any pointers would be very much
appreciate.d

kind regards
iona

Dim strFolderName As String
strFolderName = BrowseFolder("What Folder you want to select?")
Me!PathName = strFolderName

BrowseFolder() is the API subroutine that opens the dialog for you to
find the folder.
PathName is the text box name on the form (that calls this routine)
that is bound to the field [PathName] in the table.
 
Back
Top