Biomechanoids
Programmer
I want to creat a direcotory with the name of the content of a certain field of an access - database. The trouble I have is that the MkDir"" method of VBA wants a String as path. I tried to do it like
outputSQL = "SELECT name FROM table1 WHERE key = 1"
MkDir "C:\"&outputSQL
...but that doesn't work. The only thing that happens is that the module creates an empty folder.
Maybe somebody can give me a hint what's going wrong?
Greetings
Thomas
outputSQL = "SELECT name FROM table1 WHERE key = 1"
MkDir "C:\"&outputSQL
...but that doesn't work. The only thing that happens is that the module creates an empty folder.
Maybe somebody can give me a hint what's going wrong?
Greetings
Thomas