User Profile
Collapse
-
Solved, was not dim'ing or executing query... thanks for the help. -
Hi, thank you for the help!
I've found that me.MyPath is not the correct usage because it's not a form. But it's still not working...
This is the code below for what is in the Module. Below that is what is now in the onclick event of the button... It is correctly doing the transfertext to tbl_temp_import but then on the next line
...Code:strquery = "INSERT INTO tbl_ImportFileName (filename) Values ('"Leave a comment:
-
INSERT INTO question and problem
Hello!
I have the following code that opens a "browse for file" box and imports through TransferText the path and filename (called MyPath in the code) that I select.
I'm trying to put that variable MyPath (for example, "C:\import\what ever.csv") into a table (tbl_ImportFile Name). But I keep getting the error, "Compile error: Sub or Function not defined" and VALUES is highlighted in the VB...
No activity results to display
Show More
Leave a comment: