ACC: Pressing CTRL+ALT+SPACEBAR Enters Control's Default ValueID: Q90138
|
Novice: Requires knowledge of the user interface on single-user computers.
When you create a form based on a table that has one or more fields
defined with the DefaultValue property, pressing CTRL+ALT+SPACEBAR inserts
the control's default value defined in the form rather than the field's
default value defined in the table. If no value has been defined for the
control's DefaultValue property, then CTRL+ALT+SPACEBAR has no effect.
When you are entering data in the table's Datasheet view, pressing
CTRL+ALT+SPACEBAR inserts the field's default value, as defined in
the table.
When you create a form based on a table with one or more fields defined
with the DefaultValue property, new controls bound to such fields will
have the same DefaultValue property. You can keep this value, change it,
or delete it.
When you enter new records in Form view, any control that has a
DefaultValue property will be displayed with the control's default value.
If you decide that you want to have the default value that was defined in
the table, you will have to type it in. In Form view, when you press
CTRL+ALT+SPACEBAR, the default value defined for the control is entered.
This behavior is by design.
Table: TestDefaults
-------------------
Field Name: City
Data Type: Text
Field Name: State
Data Type: Text
DefaultValue: NC
Text Box:
Name: txtCity
ControlSource: City
Text Box:
Name: txtState
ControlSource: State
DefaultValue: WA
Additional query words: default keystroke
Keywords : kbusage FmsProp
Version : 1.0 1.10 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 11, 1999