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 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   An expression is intended to be any Clipper expression, therefore it can
   also be made up of Function terms.

Example:

   In a (multi-page) data entry, the current and total number of screen
   pages, and the current and total number of records must be displayed.

   To display the current screen page number on screen, proceed as follows:

     . Move the cursor to the point that the current screen page is
       to be displayed and press the Alt-3 keys.

     . With the cursor positioned on the expression field press the
       Alt-1 keys, highlight the Library functions option, and press
       Expand entity.

     . Position the cursor on the Page movement functions,
       press the List functions button and select function:

     tbPgActual( oWin )

     . Press Paste to copy the function into the Expression
       field.

     . Define a SAY picture of 99.

     . Press F10 to confirm the data inserted.

   In order to display the total number of screen pages, the current and
   total number of records, the procedure is similar to the one explained
   above. If, for instance, the file associated to the object is Cli, the
   Clipper expression to use is:

     tbPgMax()

   for the total number of screen pages,

     Cli->(RECNO())

   for the current record number, and

     Cli->(LASTREC())

   for the total number of records in the file.

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