Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - indorder() return order number of active controlling index http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 indorder()          Return order number of active controlling index
------------------------------------------------------------------------------
 Declaration
   database.hdr

 Syntax
   func uint indorder extern

 Arguments
   None.

 Return
   The order number of the controlling index.

 Description
   indorder() returns the number of the active controlling index in the
   current work area.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_indorder
   open "stest.dbf" index sIdxLN, sIdxB alias sTest
   ? indorder()          // prints 1
   set order to 2
   ? indorder()          // prints 2
   set order to 1
   ? indorder()          // prints 1
   endproc

   proc main
   Test_indorder()
   endproc

See Also: aindorder() index open set order to

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