Applies to

Window.

Description

Set and retrieve record as reflected in the window.

Usage

currRec = Get_Property (windowname, "ATRECORD")

prevRec = Set_Property (windowname, "ATRECORD", newrec)

Remarks

When used with Get_Property, the Primary record with current data extracted from the prompts on the window is returned

When used with Set_Property, the appropriate controls on the window are filled with data from the new record.

In all cases this property only applies to the PRIMARY table which the window is bound. It will not handle secondary tables when used against a multi-table form.

The use of this property does not require the use of the DEFPROP property or LOSTFOCUS event processing.

See also

RECORD property

Example

// Retrieve the contents of the screen, change a field and reset the screen
atrecord = Get_Property(@window, 'ATRECORD')
atRecord<2> = 'Ralph Waldo Emerson'
atrecord = Set_Property(@window, 'ATRECORD',atRecord)
  • No labels

1 Comment

  1. Even though setting the ATRECORD property will update databound controls, it will not change the value of the SAVEWARN property.