getNetUsername()
--
Bev.
To send me e-mail,
change .ca to .com at the end of my address.
In article <5jlj0f$g...@usenet11.interramp.com>, wor...@mindspring.com says...
>
>I am working on a multiuser application in paradox 7 on a novell network. In
>Paradox for dos, there is a funtion called username() which gives you their
>paradox name in their .cfg file. What is the paradox 7 equivalent?!
VAR
S ANYTYPE
ENDVAR
IF NOT EDIT() THEN EDIT()
ENDIF
S=GETNETUSERNAME()
IF SELF.VALUE="WO" OR SELF.VALUE="PM" THEN DODEFAULT ELSE WHODIDIT.VALUE=S
ENDIF
someone kept changing a vaule needed for a report to print so I wrote this to
trap the user name, works great, no more problems. Of course it did make one
user (the one changing the field) think somehow I was tapping into her computer.
Dan