RecNo Property
Set / Gets selected item in a data-bound Grid control based on its physical record number.

 

 

  

Syntax: 

 

 

     <WindowName>.<ControlName>.RecNo := nRecNo

 

     <WindowName>.<ControlName>.RecNo  --> nRecNo

 

 

 

NOTE: The RECNO property of the Grid control not changes the current physical record number of the DBF file, only convert between the row of grid and the recno of the DBF.

 

     - Get Form.Grid.RECNO --> convert Logical record ( grid row ) to Physical record ( DBF recno )

 

     - Set Form.Grid.RECNO := XXX --> convert the Physical record XXX ( recno ) to Logical  record ( grid row )