<?xml version="1.0" encoding="windows-1252"?>
<node id="14774" title="ODBC and OLE DB" created="2000-05-25 15:31:45" updated="2005-08-14 00:36:12">
<type id="115">
perlquestion</type>
<author id="11998">
b0dh1</author>
<data>
<field name="doctext">
I'm a perl newbie, so this could be really easy, but I just can't get it. &lt;p&gt;I've got two scripts: one that reads the data from a text file into a recordset and writes it to an Access database using an ODBC connection, and one that reads through the same db and writes out the contents of the recordset using an OLE DB connection. &lt;p&gt;What I'm trying to do is write these as one script that reads through the db, and if a field match is not found it writes the data from the textfile to the db... but it won't work. &lt;p&gt;With OLE DB I get a "not enough storage is available to complete this operation" error when trying to write to the db, and with ODBC I can't open a recordset to iterate through, "Can't locate auto/Win32/ODBC/execute.al in @INC"&lt;p&gt;I'm running the latest build of ActivePerl on a WinNT machine. Any help would be greatly appreciated. Thanks.</field>
</data>
</node>
