Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== ATRECORD property ====== ==== 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|RECORD property]] ==== Example ==== <code> // 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) </code> guides/programming/programmers_reference_manual/atrecord.txt Last modified: 2024/06/19 20:20by 127.0.0.1