Macros in the Contacts Template

G

genojoe

I have used Access since version 97 and now investigating what 2007 offers. I
am stuck at a point that should not be stopping me. I have spent hours
searching but without luck. My issue is:

I created the Contacts example database. AutoExec, opens the Getting
Started form. This form has a control called: cmdImportFromOutlook. This
control fires a Macro for the On Click Event. This macro has a RunCommand
with an argument of AddFromOutlook. I want to look at the code associated
with this argument but cannot find it anywhere in database. What am I
missing?
 
A

a a r o n _ k e m p f

in VBA, you could use
DOcmd.RunCommand acCmdAddFromOutlook I would assume, that would allow
you to programmatically do whatever you need, right?

I don't think that you can write an overloads for the existing
procedure (similiar to how you could do this normally in word for
example).
 
G

genojoe

That was the first place I looked. Only visible module is modMapping. This
module contains one procedure called: OpenMap. Doing a definition search
returns "Identifier under cursor is not recognized."

You can duplicate my problem by creating a new project and using the
Contacts choice in the Templates.
 
G

genojoe

You miss the point. My goal is not to replace the code. I only want to
see the code associated with this command argument. I want to see how
Microsoft does this task in this project. Knowing this answer may help me
as I review other projects.
 
A

a a r o n _ k e m p f

outlook is a database. Get a connection string and do whatever you
need.

-Aaron
 
G

genojoe

I have met dense people. If I ever met you, you would quickly go to the top
of the list. I hav written much code for Outlook from both VB.NET and
Access. I guess that you just do not understand that I may have a larger
need and that is that I would like to see the "VBA" code Microsoft uses in
their Templates to do the things they do whether or not in involves Outlook.

It is clear to me that you do not know the answer. Since you do not know
the answer, I wonder why you bothered to answer?

This is not a life or death issue but when I do find the answer, I wll post
it here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top