R
rama
Hello,
I am using a command button called “cmdImport” to read the contents of
a text file to my access database. On click event of “cmdImport” will
run this code
DoCmd.TransferText acImportFixed, "Import_Specification", "tblText",
"C:\Import\09FAL1.txt" ‘to import the contents of the file.
I wanted to import similar kind of many files for that I need the code
to read the source file name from a text box in my form called
“txtSourceFile” . Please help me to correct the above code where
source file information should be” Me. txtSourceFile” instead of "C:
\Import\09F09AL1.txt".
Thanks
Rama
I am using a command button called “cmdImport” to read the contents of
a text file to my access database. On click event of “cmdImport” will
run this code
DoCmd.TransferText acImportFixed, "Import_Specification", "tblText",
"C:\Import\09FAL1.txt" ‘to import the contents of the file.
I wanted to import similar kind of many files for that I need the code
to read the source file name from a text box in my form called
“txtSourceFile” . Please help me to correct the above code where
source file information should be” Me. txtSourceFile” instead of "C:
\Import\09F09AL1.txt".
Thanks
Rama