[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_TTAVAIL()
 Determine TTS availability
------------------------------------------------------------------------------
 Syntax
 
      fn_ttAvail() -> nAvail
 
 Arguments

     None

 Returns

    <nAvail>, a numeric as follows:

             0     Transaction tracking not available
             1     Transaction tracking is available
           253     Transaction tracking disabled

 Description

    Use this call to determine whether or not TTS has been
    installed on the network.  Note that you can use TTS
    calls even if the NetWare network doesn't have TTS
    installed, and you'll get 0 return codes from all the
    TTS API functions.

    A simple wrapper around this function is FN_HASTTS(),
    which allows a simple true/false return.  See the
    FN_HASTTS() documentation.

 Examples

    if fn_ttAvail() == 1
       qout( "We have transaction tracking!" )
    endif


 Source: N:\SRC\TTS\TTS.PRG

 Author: Glenn Scott

See Also: FN_HASTTS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson