Sets the value that indicates whether the specified action should be performed immediately.
Applies To
The following elements on forms:
-
Check boxes
-
Command buttons
-
Option buttons
Property Value
Value | Description |
---|---|
OK |
Close form and return OK |
Cancel |
Close form, do not return OK |
LookupOK |
Close lookup form and return OK |
LookupCancel |
Close lookup form, do not return OK |
Yes |
Close form and return Yes |
No |
Close form and return No |
Close |
Close the form |
Stop |
Stop processing |
FormHelp |
Show help for this form |
RunObject |
Run an application object |
RunSystem |
Run a system command (external program) |
LookupTable |
Perform a lookup into the current table |
Remarks
The first eight actions specified in the list return an action to the caller. For example, OK is used to close a form and return OK to the caller. If you choose RunObject, you will have to specify the application object to run by using the RunObject Property. If the object you choose is a form, you can specify how to run this form further by using the RunFormView Property, RunFormLink Property, RunFormLinkType Property and RunFormOnRec Property.
If you choose RunSystem, use the RunCommand Property to specify the external program to run (including command-line parameters).
See Also
© 2010 Microsoft Corporation. All rights reserved.