|
Properties are set by changing their values and there are various types of properties. A property is made of two parts: its name and its value:
The name of a property displays on the left gray section. Although you can click it to select it, you cannot change it. The property name can be made of one word such as
Width. It can also be made of a combination of words, such as Border
Style. On this site, a property will be called by what displays on that left gray section. This means that, if a property displays "Height", we will call it "The Height Property". If it displays
"Whats This Button", we will call it "The Whats This Button Property".
The second part of a property displays on the right side of the property name. This is called the value of the property. As properties are intended to fulfill different purposes, there are various categories of properties.
 |
When a property value displays a word or a group of words,
such a word or group of words on a field is called a string. Some of
those properties |
already display a value while some others are empty. To set or change such a
string, if it is already displaying something, it depends on whether you want to replace the property value or edit it.
To replace the value of a string property, you can click the property name. This would highlight the value. You can then type the desired value, which would replace whatever text the property was displaying. If the property value was empty, you can click the property name and type the desired value. If the property already had a value and you want to edit it, you can click in the value field to position the cursor in the string; then you can use your knowledge of text editing (Home, End, Backspace, Space, and arrow keys) to change the text.
To put the string into edit mode, you can also click the property name, which would highlight the value, then press F2 to position the cursor into the field. If you press F2 again, you would highlight the contents of the field. This means that F2 toggles edit and selection modes. To edit a string already contained in the field, you can also double-click it, which would put it into edit mode.
There are various types of string properties on forms, reports, and other controls. Examples include, among others, the control's name or its caption.
|
Practical Learning: Viewing String Properties
|
|
- To see examples of string properties, in the Properties window,
click the Data tab and click Filter. Notice that it is empty and
expects a value
- Click Order By to see an example of another string property
 |
Some fields behave like a True or False answer to a question. Such fields can display only one of two values. Both values come in a combo box that displays as the property’s value. There are three categories of these fields in combinations |
of Yes/No, True/False, or On/Off. To change the value of the field, you can first click the property name to reveal its combo box. Then click the arrow of the combo box and select the other value. You can also double-click the property name or its value. This would toggle with the opposite value. With experience, you can also type the first letter of the value, such as y or n and Microsoft Access would complete with the corresponding value.
|
|