http://www.perlmonks.org?node_id=729828


in reply to Re^3: Perl DBI + Access bind issues
in thread Perl DBI + Access bind issues

Yes. You can script Access using Visual Basic. I wrote a function that exports all of the tables I'm interested in but I don't remember the calls to do it. I can look it up when I get to work tomorrow morning.

90% of every Perl application is already written.
dragonchild

Replies are listed 'Best First'.
Re^5: Perl DBI + Access bind issues
by pfaut (Priest) on Dec 12, 2008 at 15:09 UTC

    I just looked up how I did this and there's no need for VB. It can be done using a macro in Access. I created a macro called ExportTables. For each table to be exported I added a 'TransferText' action. Set transfer type to 'Export Delimited' and specify the table and file names. If you want the first row of the CSV file to contain the column names set 'Has Field Names' to 'Yes'. After adding an action for each table you can execute the macro and it should create CSV files for the tables you entered.

    90% of every Perl application is already written.
    dragonchild