Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Extracting data from a pipe delimited text file into a table in Access

by cciulla (Friar)
on May 05, 2003 at 15:28 UTC ( [id://255649]=note: print w/replies, xml ) Need Help??


in reply to Extracting data from a pipe delimited text file into a table in Access

Have you checked your DSN?

The reason I ask is when I run your code unmodified, everything's kosher. Could it be that you have more than one DNS environment on your box (e.g., version one, version two, test, etc.)? I've been bit by this before -- run code against one database expecting the data to show up in another?

FWIW, I'm running:

  • ActiveState 5.8.0.806
  • DBI 1.35
  • DBD-ODBC 1.05
... and when I tried a couple of different things (e.g., five fields vs. eight, fields six through eight "not null", etc.) perl complains rather loudly.

  • Comment on Re: Extracting data from a pipe delimited text file into a table in Access

Replies are listed 'Best First'.
Re: Re: Extracting data from a pipe delimited text file into a table in Access
by Anonymous Monk on May 05, 2003 at 17:16 UTC
    Thanks c2!
    As far as I know i have one DNS environment
    I set up the DSN the usual way
    - Control Panel ->ODBC Data Sources->System DSN->Daily_Rec(which is linked to the database)
    I also checked if the Read-Only checkbox was unchecked

      Okie doke... If you have access to another machine with perl and Access on it, try to recreate the error there.

      If it works there, then there's probably something hosed up with your config (e.g., wrong version of the driver or something silly like that).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://255649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found