Here is what I am trying in PERL #!/usr/bin/perl use strict;use warnings; use Win32::OLE; my $DBFile = qw( W:\Glenn-123456\Test\DevComm1.mdb ); # #Choose appropriate version of Jet for your system my $Jet = Win32::OLE->CreateObject('DAO.DBEngine.36') or die "Can't +create Jet database engine."; my $DB = $Jet->OpenDatabase( $DBFile ); my $SQLquery = "SELECT * INTO [Input] FROM [Text;DATABASE=W:\Glenn-123 +456\Test\VDD\Data\;HDR=No].[DevComm1.txt]"; $DB->Execute($SQLquery, 128); #128=DBFailOnError I get 4 error messages that says unrecognized escape /g /t /v /d at li +ne 11 and one can't create jet database engine line 8 Trying again.
In reply to Re: How can I import text to Access
by Broggy69
in thread How can I import text to Access
by Broggy69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |