All,
Sorry for the vague title compared to the problem I have.
I am automating a process where the user Imports a CSV file abd then runs several queries abd deleting the Imported file.
What I would like is the equivalent of Excel's GetOpenFileName dialogue box.
In essence, I would like the user to hit a 'Import new data button' and for a the open file dialogue to Open and to store the filename and Path in variables (1 each) to code the SQL and do all the other wizzy stuff.
I will be using these variables to do the actual Import, it more a visable selection for the user.
I hope that makes sense, I just want to get the path and filename of the file they select, I'll do all the other stuff.
Cheers.
PS. Is there a way to do what I need without it actually pulling the data in and bloating the Database (seen as I'm deleting the table once I've moved the imformation around), or any tips on stopping/limiting this type of bloatiness
Thanks,
Sorry for the vague title compared to the problem I have.
I am automating a process where the user Imports a CSV file abd then runs several queries abd deleting the Imported file.
What I would like is the equivalent of Excel's GetOpenFileName dialogue box.
In essence, I would like the user to hit a 'Import new data button' and for a the open file dialogue to Open and to store the filename and Path in variables (1 each) to code the SQL and do all the other wizzy stuff.
I will be using these variables to do the actual Import, it more a visable selection for the user.
I hope that makes sense, I just want to get the path and filename of the file they select, I'll do all the other stuff.
Cheers.
PS. Is there a way to do what I need without it actually pulling the data in and bloating the Database (seen as I'm deleting the table once I've moved the imformation around), or any tips on stopping/limiting this type of bloatiness
Thanks,