Re: VFP running Access Query/Macro by Rick
Rick
Tue Feb 03 07:56:14 CST 2004
Gar,
You might want to ask this question in an Access forum. They'd probably =
better know how (and whether) you can automate Access's "macros" - I =
believe these are fundamentally different from Office (Word, Excel, =
Powerpoint, Outlook) macros.One you have the technique it should be =
trivial to write the code in VFP - especially with the Intellisense in =
VFP 7/8.
Rick
"Gar" <anonymous@discussions.microsoft.com> wrote in message =
news:B541F939-F204-498E-B0E6-1410BB5537C3@microsoft.com...
> Hi,
>=20
> Do you know of a way to run an Access query/macro from within VFP. No =
ODBC.
> Similar to using
>=20
> loXL =3D getobject('','Excel.Application')
> loWB2 =3D =
loXL.Workbooks.open('c:\earnedvalue\module\earned_value_data_shell.xls')
> loWB2.Application.Run('earned_value_data_shell.xls!import_data')
>=20
> to run an Excel macro.
>=20
> Thanks,
> Gar
>