Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>sx_thermometer():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Sx_Thermometer():

  Syntax:  Sx_Thermometer([[nTagNo | cTagName,] nOrder | cIndexName])

           nTagNo     = Position of tag within compound index file
           cTagName   = Name of the tag
           nOrder     = Position of index in list of indexes
           nIndexName = Name of the index

  Returns:   A numeric value indicating update status of the tag or index
             as outlined above.

  Description:  This version returns a value which indicates the update
                status of the specified tag or index.  The values are as
                follows:

                  1 - Full Update
                  2 - Full Update (partial index)
                  3 - Changes Only
                  4 - No Update

    NOTE:  This function is NOT supported under SIXNTX.

  Example:

       // Assume that CUSTOMER.DBF also has a structural index
       // (CUSTOMER.CDX), the Tag, NAME exists in CUSTOMER.CDX,
       /  and SPECIAL.IDX and OFFER.IDX were created on AcctNo.

       USE Customer via "SIXCDX"  // Opens CUSTOMER.DBF and CUSTOMER.CDX

       SET INDEX TO Special, ;    // Open SPECIAL.IDX, and OFFER1.IDX
                    Offer1        // Note CUSTOMER.CDX is moved to
                                  // index order position 3

       ? Sx_Thermometer( 1, 3)    // Display update status of NAME tag.
       //..1 - Full Update

       ? Sx_Thermometer( 1 )      // Display update status of special
       //..2 - Full Update(part)  // offer index, SPECIAL.IDX

       ? Sx_Thermometer( 2 )      // Display update status of OFFER1.IDX
       //..4 - No Update          // See Sx_Freeze() example for origin
                                  // of OFFER1.IDX

       Sx_Chill( 1 )              // Chill special offer index SPECIAL.IDX
                                  // Will only allow existing keys to be
                                  // updated

       ? Sx_Thermometer( 1 )      // Display update status of SPECIAL.IDX
       //..3 - Changes only



See Also: Sx_Chill() Sx_Freeze() Sx_Warm()

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