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)
 
Top