ATRECORD property

Window.

Set and retrieve record as reflected in the window.

currRec = Get_Property(windowname, "ATRECORD")

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

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.

// 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)
  • guides/programming/programmers_reference_manual/atrecord.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1