skip to content
Clarion Community Help
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
position_return_the_current_record_position_.htm
| **Navigation:** [[abc library reference.htm|ABC Library Reference]] > FileManager > FileManager Methods >====== Position (return the current record position) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[open open the file .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[postdelete trigger delete action post processing .htm|{{btn_next_n.gif|Next page}}]] | | || **Position** {{blk2blue.jpg|blk2blue.jpg}} The **Position **method returns the unique position of the current record. The TryReget method retrieves a record based on the value returned by Position. **Implementation:** Position returns the POSITION of the primary key if there is one; otherwise it returns the file POSITION. See the //Language Reference// for more information on [[position return record sequence position .htm|POSITION]]. **Return Data Type:** STRING **Example:** ** Hold = SELF.Position()** ** PUT( SELF.File )** ** CASE ERRORCODE()** ** OF NoError** ** OF RecordChangedErr** ** SELF.SetError(Msg:ConcurrencyFailedFromForm)** ** SELF.Throw** ** WATCH( SELF.File )** ** SELF.TryReget(Hold)** ** ELSE** ** SELF.SetError(Msg:PutFailed)** ** RETURN SELF.Throw()** ** END** **See Also:** [[tryreget try to get a specific record by position .htm|TryReget]]
position_return_the_current_record_position_.htm.txt
· Last modified: 2021/04/15 15:57 by
127.0.0.1
Page Tools
Show page
Old revisions
Backlinks
Back to top