dbSkipper()

dbSkipper()

Helper function to skip a database

Syntax

      dbSkipper( <nRecs> ) --> nSkipped

Arguments

<nRecs> is the number of records to skip relative to current record. Positive number would try to move the record pointer forward, while a negative number would try to move the record pointer back <nRecs> records.

Returns

dbSkipper() return the number of actual record skipped.

Description

dbSkipper() is a helper function used in browse mechanism to skip a number of records while giving the caller indication about the actual records skipped.

Examples

      // open a file and find if we've got enough records in it
      USE MonthSales
      IF dbSkipper( 100 ) == 100
         ? "Good work! You can party now"
      ELSE
         ? "Too bad, you should really work harder"
      ENDIF
      CLOSE

Compliance

XPP

Files

Library is rtl

Seealso

DBSKIP(), SKIP

Advertisements

4 responses to “dbSkipper()

  1. Pingback: Harbour All Functions – D | Viva Clipper !

  2. Pingback: Harbour Database Functions | Viva Clipper !

  3. Pingback: Harbour User Interface Functions | Viva Clipper !

  4. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s