Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b>net_use() network: attempts to open a file for exclusive or shared use</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NET_USE()   Network: Attempts to open a file for exclusive or shared use

 Syntax....: NET_USE( mfile [,alias [,ex_use [,wait]]] )
 Parameters: <expC>: mfile  = name of the .DBF file to open
 [optional]  <expC>: alias  = alias of the .DBF file to open
  "      "                      (default = filename)
  "      "   <expL>: ex_use = mode of open (.T.= exclusive /.F.
  "      "                      (default = shared)
  "      "   <expN>: wait   = seconds to wait (0 = wait forever)
  "      "                      (default = 5 sec)

 Returns...: <expL>: .T. if succeeds / .F. if fails
 Cautions..: none
 CC Calls..: POPMSG()
 Alias.....: none

 Example...: IF NET_USE( "ACCOUNTS","",.T.,5 )
               SET INDEX TO  NAME
             ELSE
               ? "Account file not available"
             ENDIF


See Also: FIL_LOCK REC_LOCK ADD_REC

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