I'm attempting to populate a table with contents from a file. I could simply use:
but I'm attempting to make this as dummy-friendly as possible. I'd like to have an input element quite similar to html's <input type="file">, so that a user can just click the button, browse for the file, and click submit.
How could I go about doing this?
Code:
DoCmd.TransferText acImportDelim, , "tblImportData", "C:\Payments20051012.txt", False
DoCmd.OpenQuery "qryName"
DoCmd.DeleteObject acTable, "tblImportData"
but I'm attempting to make this as dummy-friendly as possible. I'd like to have an input element quite similar to html's <input type="file">, so that a user can just click the button, browse for the file, and click submit.
How could I go about doing this?