<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1543" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial>I read in March of 2005 the exchange between Ken ,
JP, and Brian concerning putenv commands.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I have used getenv to get the username from my novell
server with no problems for years.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I realise there is and enviorment variable in my XP
machines called username but that is the local pc's username, now the network
id.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I would like to have a login processing that asks the
person for their name and passes it to the environment variable on the pc.
I am successful in passing it and reading it in the same table, but once I exit
that filepro dclerk session the variable seems to be lost.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>login </FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> 1:</FONT></DIV>
<DIV><FONT face=Arial> :input
aa "Enter your name"</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> 2:</FONT></DIV>
<DIV><FONT
face=Arial> :putenv
"DOOFUS",aa</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> 3:</FONT></DIV>
<DIV><FONT face=Arial>
:exit</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Once this is run doofus does not appear to the next table
which does</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>logout</FONT></DIV>
<DIV><FONT face=Arial> 1:</FONT></DIV>
<DIV><FONT face=Arial>
:aa=getenv("doofus")</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> 2:</FONT></DIV>
<DIV><FONT face=Arial>
:show"@aa="<aa</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial> 3:</FONT></DIV>
<DIV><FONT
face=Arial> :exit</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I don't seem to get the variable in the second
process. If this is correct I can do other things like pass a paramter to
the login to do a lookup to a table and always check that, or even pass the
username before starting filepro.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial></FONT> </DIV></BODY></HTML>