Subject Network()
From hb <Heather.Blair@rrb.gov>
Date Thu, 19 Apr 2018 10:32:34 -0400
Newsgroups dbase.getting-started

We are trying out dbDOS PRO 6 with our dBase IV applications.

Our dBase programs are on a network drive mapped to a drive letter.  These are working OK.  

Many of them have a user table that grants different permissions according to the current user.  

The dbDOS PRO 6 tech support people showed me how to get the current user, but our original developer had code that looks like this:

IF NETWORK()
              PC_ID = GETENV("USERNAME")
ELSE
              PC_ID = "NOTNET"
ENDIF

The function NETWORK() is returning False rather than True in the dbDOS PRO 6 environment.  Is there a way to fudge this to be TRUE?

In a normal situation, I would change the code and recompile.  But I am not a dBase person and I dread trying to track down all the prg files to compile into a DBO file.  (The original programmers would compile many prgs into one DBO sometimes, left unused prgs sitting around, and no documentation, and then retired!)

Thank you!



Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0