Home » Developer & Programmer » Forms » Read Local Computer name (Forms 6i)
Read Local Computer name [message #689976] Mon, 09 September 2024 05:33 Go to next message
chat2raj.s
Messages: 163
Registered: October 2010
Location: Chennai, India
Senior Member
Hi,
How do we read the local computer name / ip address from forms 6i
Re: Read Local Computer name [message #689977 is a reply to message #689976] Mon, 09 September 2024 06:09 Go to previous messageGo to next message
Michel Cadot
Messages: 68701
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

I don't know if there are some Forms functions but from SQL you can do:
SQL> select sys_context('userenv','TERMINAL') pc,
  2         nvl(sys_context('userenv','IP_ADDRESS'),
  3             utl_inaddr.get_host_address(sys_context('userenv','TERMINAL'))) ip
  4  from dual
  5  /
PC                   IP
-------------------- --------------------
MYPC                 192.168.1.85
Re: Read Local Computer name [message #689978 is a reply to message #689977] Mon, 09 September 2024 06:18 Go to previous message
chat2raj.s
Messages: 163
Registered: October 2010
Location: Chennai, India
Senior Member
Thank you Michel Cadot. This worked well.
Previous Topic: Calling api from oracle forms12c
Next Topic: Free software replacement for Oracle Forms
Goto Forum:
  


Current Time: Sat Oct 12 14:30:58 CDT 2024