B
Bake
I am trying to run the following code in MS Access 97 but I get an
error. Here's the code:
Function MakeDir2()
mkdir "C:\TEMP\TEMP_2\"
End Function
Here's the error:
"Compile error: Expected variable or procedure, not module"
C:\TEMP already exists on my hard drive, I just want to create a
subfolder in VB code. Ironically, this same code works just fine in
MS Access 2002. Any suggestions?
I've tried many iterations of the above code as well - with
parentheses, without, with the ending "\", without it. No luck.
error. Here's the code:
Function MakeDir2()
mkdir "C:\TEMP\TEMP_2\"
End Function
Here's the error:
"Compile error: Expected variable or procedure, not module"
C:\TEMP already exists on my hard drive, I just want to create a
subfolder in VB code. Ironically, this same code works just fine in
MS Access 2002. Any suggestions?
I've tried many iterations of the above code as well - with
parentheses, without, with the ending "\", without it. No luck.