Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>tbscan()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tbScan()
Search a value on a record of one object
------------------------------------------------------------------------------
Syntax:

     tbScan( <oTbr>, <b2Eval> ) --> lEval

Parameters:

     <oTbr>     Object to use for the searching
     <b2Eval>   CODEBLOCK to eval. If .T. stop the scan

Returns:

     <lEval>    If .T. the value has been found

Description:

     Search a value on a record of one object
     
     N.B.  tbScan() change the current record

Example:

     LOCAL nRow := 0  // New browse
     oTbr := tbBrwNew( 0, 0, MAXROW(), MAXCOL() )
     
     // User code
     IF tbScan( oTbr, {||Cli->cCodCli=="00001"} )
        ? "Found CodCli"
     ENDIF

See also:

     tbBrwNew(), tbStab()

See Also: tbBrwNew() tbStab()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson