I would like to put a browse button on a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

On my form I am using a text box that specifies the directory and name of a
..csv file that I want imported.
My button's code looks something like this

dim a as string
a = text1.text
docmd.transfertext...

But now i have to remember the directory, or move that file to an easier
location. I would like to put a browse button on the form so that I can just
go looking for it, instead of having to remmber it. Any Ideas?
 
Arend said:
On my form I am using a text box that specifies the
directory and
name of a .csv file that I want imported.
My button's code looks something like this

dim a as string
a = text1.text
docmd.transfertext...

But now i have to remember the directory, or move that
file to an
easier location. I would like to put a browse button on
the form so
that I can just go looking for it, instead of having to
remmber it.
Any Ideas?

Check out the Access MVP site:
http://www.mvps.org/access/api/api0001.htm

--
Nick Coe (UK)
AccHelp v1.01 Access Application Help File Builder
http://www.alphacos.co.uk/
Download Free Copy
----
 
I at first thought it would work, but then my Access 2000 rejected the code...
Apparrently the globals dont work...
And

Any other Ideas? I would really apprciate it.

Arend
 
Post the actual error messages please. I can't advise based
I at first thought it would work, but then my Access 2000
rejected
the code... Apparrently the globals dont work...
And

Any other Ideas? I would really apprciate it.

--
Nick Coe (UK)
AccHelp v1.01 Access Application Help File Builder
http://www.alphacos.co.uk/
Download Free Copy
----
 
Back
Top