Gunnar / Bill, Excellent, with your suggestions I got it to work.. Granted not as elegant as a cval command, but it gets the job done !! When users have problems, I use NetOp to connect to their desktops remotely, but to do that I have to know their IP address, so having it on the status bar makes it easier for them give it to me, instead of me having to look it up in the DNS or DHCP servers.
-- Frank -- Frank Taylor, Systems Network Administrator -- F.J. O'Hara Corp, Boston, MA -- [EMAIL PROTECTED] - 617-790-3093 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Bill Downall Sent: Wednesday, October 26, 2005 1:55 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: IP Address Frank, I don't thing there is a CVAL, or even an ENVVAL() that you can count on. However, you do do something like this: ZIP CMD.EXE /C IPCONFIG > configinfo.txt create temp table ConfigInfo (+ IpConfigLabel TEXT (36), + IpAddress TEXT(15) + ) LOAD CONFIGINFO FROM configinfo.txt AS FORMATTED USING + ipconfiglabel 9 43, + ipAddress 45 59 SELECT ipaddress INTO vMyIP FROM configinfo + where ipconfiglabel LIKE 'IP Address%' Betaserver wrote: > I think I asked this before, but never did find out if it is possible. Is > there a CVAL or GETVAL command that will return the IP address of the > computer the user is on ? if not, can anyone think of a way I can get that > into an RBase variable ? > > Thanks > > -- Frank Taylor, Systems Network Administrator > -- F.J. O'Hara Corp, Boston, MA > -- [EMAIL PROTECTED] - 617-790-3093 > > >
