#!/usr/bin/perl -w use strict; use Win32::OLE; my ($acc) = Win32::OLE->new("Access.Application"); $acc->{Visible} = 1; $acc->OpenCurrentDatabase("c:\\temp\\foo2.mdb"); $acc->DoCmd->RunMacro("mcroSayHello"); 1;
Read the docs on how to create a macro or just use this code: 495924.
Celebrate Intellectual Diversity
In reply to Re: Copy Database to another location
by InfiniteSilence
in thread Copy Database to another location
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |