Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MACROS - Read source of - OpenQuery OpenReport OpenForm

Status
Not open for further replies.

dpimental

Programmer
Jul 23, 2002
535
0
0
US
Is there a way to read the list of macros and read through their source to see if there are commands to see if there is a OpenQuery, OpenReport, OpenForm command and then see what the arguments are for them?

I can get the list of macros from the MSysObjects table.

Code:
SELECT MSysObjects.Name, MSysObjects.Type, MSysObjects.Id
FROM MSysObjects
WHERE (((MSysObjects.Type)=-32766))
ORDER BY MSysObjects.Name;

I can't see to find where the source is located?

There is not a container "object" in the containers of the database for Macros.

I can't seem to find where they are?

Are they compiled once you save them?

Are they in one of the microsoft system database?

David Pimental
(US, Oh)
 
You may also fin faq705-5796 of some use.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top