in reply to Copy Database to another location
#!/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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Copy Database to another location
by Anonymous Monk on Feb 07, 2006 at 23:01 UTC |