User Tools

Site Tools

Navigation:  Language Reference > App C - PROP: Runtime Properties > Runtime VIEW and FILE Properties >====== PROP:Held ====== Previous pageReturn to chapter overviewNext page

Property of a FILE that returns whether the current record is held. Returns 1 if the record is held and an empty string () if not. (READ ONLY) Example: FileName STRING(256) Customer FILE,DRIVER('Clarion') Record    RECORD Name       STRING(20)          END         END CODE OPEN(Customer) SET(Customer) LOOP  HOLD(Customer,1)  NEXT(Customer)  IF ERRORCODE() THEN BREAK END  IF Customer{PROP:Held} <;> ''   MESSAGE('Record Held')  END END RELEASE(Customer)

prop_held.htm.txt · Last modified: 2021/04/15 15:57 (external edit)