EditInsertText @Command (Formula Language)

Inserts the specified string at the current cursor position.

Syntax

@Command( [EditInsertText] ; string )

Parameters

string

Text. The string you want to insert.

Usage

  • A document must be open in Edit mode with the insertion point in a text or rich text field

    or

  • A form, subform, or page must be open in Design mode.

This command does not work on the Web.

If using this command in a hotspot button or any other element that causes a change in focus, the EditGoToField or EditTop command must be used first to return the focus to the document. The document must be in Edit mode.

Examples

This formula inserts the text "Jones, Casey M." at the current position.
@Command( [EditInsertText]; "Jones, Casey M." )