Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MS Access Properties

Tags:

vba

ms-access

Where can I find a native list of MS Access properties available through:

 CurrentDb.Properties("Property_Name_Here")

For example, I know;

  • AppTitle is available to access the title of the application
  • AppIcon is available to access the path of the icon used for the application

For different versions I am sure there are different properties. Are there lists by version? So for example, MS Access 2003 has these properties... while MS Access 2007 has these properties... and so on.

like image 567
Curtis Inderwiesche Avatar asked Mar 30 '09 19:03

Curtis Inderwiesche


People also ask

What are the properties of MS Access?

Every table in Access is made up of fields. The properties of a field describe the characteristics and behavior of data added to that field. A field's data type is the most important property because it determines what kind of data the field can store.

How do I Access field properties in Access?

In the Navigation Pane, locate and double-click the table that you want to change. Access opens the table in Datasheet view. Select the field (the column) that you want to change. On the Fields tab, in the Properties group, click the arrow in the drop-down list next to Data Type, and then select a data type.

Where is the properties window in Access?

To display the Properties window for the form or the report in Design View: You can double-click the button in the top-left section under the tab or the title bar. In the Design section of the ribbon, you can click the Property sheet button. You can right-click anywhere on the form or report and click Properties.


2 Answers

I don't believe there is a list anywhere. Tho, the Properties property is a collection. You can iterate over them and get all the ones associated. You'd have to do this all the versions of MS Access you're interested in. To further expound, almost all the internal objects, e.g. tables, fields, queries, etc. have properties. The field properties are particularly useful as you can assign how MS Access links and displays the field to the user.

like image 155
Joel Lucsy Avatar answered Oct 06 '22 12:10

Joel Lucsy


There is a properties collection:

Sub ListProps()
    For i = 0 To CurrentDb.Properties.Count - 1
        Debug.Print CurrentDb.Properties(i).Name
    Next
End Sub
like image 41
Fionnuala Avatar answered Oct 06 '22 10:10

Fionnuala