AccessObjectProperty

A

Aaron Neunz

I am a bit confused about where to place code for objects other than the
form object. Where would I place this code for my Access Database in the
Visual Basic Editor? It is a sample piece of code for the CurrentProject
object.

Sub Application()
Debug.print Application.CurrentProject.FullName
Debug.print Application.CurrentProject.ProjectType
Application.SetOption "Show Hidden Objects", True
End Sub

Thanks,
Aaron Neunz
 
D

david epsom dot com dot au

Don't call your sub 'Application'. Your example is
never going to work.

(david)
 

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