Pick List Username

Issue the command "set" at a dos prompt. You probably have
"username" on NT. The reason I have userid is that I set it
in everyones login script. That way win9x machines have
one too.

Gary Grenier wrote:
>
> Joe,
>
> Apparently, I don't have that environment variable. I have successfully
> created the formula field, but it's blank. Do you know how I might add the
> variable?
>
> Gary
>
> > From: Joe Konecny <jkonecn@...>
>
> > If you have an environment variable called userid...
> >
> > getdosenv('userid')
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Hello Group,

Can anyone tell me how to get the user name of the person printing a
Pick List. We're using Vantage 3/Crystal 6. If the information can
not come from Vantage, is it possible to derive it from the local
system or NT username?

Thanks,

Erik Smalley
MEI
I uploaded a cyrstal dll to the yahoo file area that you can use to
read the nt username. It will read any environment variable.

esmalley@... wrote:
>
> Hello Group,
>
> Can anyone tell me how to get the user name of the person printing a
> Pick List. We're using Vantage 3/Crystal 6. If the information can
> not come from Vantage, is it possible to derive it from the local
> system or NT username?
>
> Thanks,
>
> Erik Smalley
> MEI
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
I downloaded the file and copied it to both the System32 and Crystal
directories in the Winnt folder (I wasn't sure which it should be in). Now
what? I opened Crystal and didn't see how to insert the field.

> From: Joe Konecny <jkonecn@...>
> I uploaded a cyrstal dll to the yahoo file area that you can use to
> read the nt username. It will read any environment variable.
It should be in...

x:\vantage\dll
and (c:\windows\crystal or c:\winnt\crystal)

Then it will be available in "additional functions" when you
make a new formula field.

Gary Grenier wrote:
>
> I downloaded the file and copied it to both the System32 and Crystal
> directories in the Winnt folder (I wasn't sure which it should be in). Now
> what? I opened Crystal and didn't see how to insert the field.
>
> > From: Joe Konecny <jkonecn@...>
> > I uploaded a cyrstal dll to the yahoo file area that you can use to
> > read the nt username. It will read any environment variable.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
OK, I have it available in the Additional Functions, but now what? I
can not seem to do anything that won't error out. How should this be
set up as a function?

Thanks!

> It should be in...
>
> x:\vantage\dll
> and (c:\windows\crystal or c:\winnt\crystal)
>
> Then it will be available in "additional functions" when you
> make a new formula field.
If you have an environment variable called userid...

getdosenv('userid')


esmalley@... wrote:
>
> OK, I have it available in the Additional Functions, but now what? I
> can not seem to do anything that won't error out. How should this be
> set up as a function?
>
> Thanks!
>
> > It should be in...
> >
> > x:\vantage\dll
> > and (c:\windows\crystal or c:\winnt\crystal)
> >
> > Then it will be available in "additional functions" when you
> > make a new formula field.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Joe,

Apparently, I don't have that environment variable. I have successfully
created the formula field, but it's blank. Do you know how I might add the
variable?

Gary

> From: Joe Konecny <jkonecn@...>

> If you have an environment variable called userid...
>
> getdosenv('userid')