Can I tell (with LotusScript) the fieldName of my cursor focus?

Is there some way that I can tell which field I’m in, or just leaving?

I could set a workflow field, but if it’s there, I’ll use it!

Subject: Can I tell (with LotusScript) the fieldName of my cursor focus?

fieldName$ = notesUIDocument.CurrentField

Subject: Can I tell (with LotusScript) the fieldName of my cursor focus?

The NotesUIDocument property currentfield?

from Notes Help:

Example

Read-only. The name of the field where the cursor is.

Defined in

NotesUIDocument

Data type

String

Syntax

To get: fieldName$ = notesUIDocument.CurrentField

Usage

This property is valid only when the document is in Edit mode. If it’s in Read mode, CurrentField returns an empty string (“”).

In the Exiting and OnBlur events, this property refers to where the cursor goes, not to the field being exited.

Subject: RE: Can I tell (with LotusScript) the fieldName of my cursor focus?

Thanks. This is exactly what I need.