Help for this page

Select Code to Download


  1. or download this
    use DBI;
    my $datasource = "driver=Microsoft Access Driver (*.mdb);dbq=new.mdb";
    my $username = 'admin';
    ...
    
    my $sth = $dbh->prepare($sql);
    $sth->execute;
    
  2. or download this
    use strict;
    use warnings;
    use Win32::OLE;
    ...
    $table->Columns->Append('ID', adInteger);
    $table->Columns->Append('Desc', adVarChar);
    $cat->Tables->Append($table);
    
  3. or download this
    use strict;
    use warnings;
    use Win32::OLE;
    ...
    $tab->Fields->Append($fld);
    $db->TableDefs->Append($tab);
    $db->TableDefs->Refresh;