Home » Developer & Programmer » Forms » Dynamic Number count
Dynamic Number count [message #171764] Thu, 11 May 2006 07:05 Go to next message
illur81
Messages: 6
Registered: August 2005
Junior Member
Hi all,

I have a requirement in which, I got to get the position of the curosr in the field dynamically. Suppose if the size of the text field is 100 characters, and when the user are keying in the text, in a different text field the position of the cursor should be shown, example, 10,15,20 etc. Can it be done in Oracle forms version 6i. Any help on this regard is appreciated.

Thanks
- Sandeep
Re: Dynamic Number count [message #171866 is a reply to message #171764] Thu, 11 May 2006 18:50 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
In Oracle Forms you can specify that the cursor position is to be retained so that the cursor goes back to that position when you re-enter the field. However, I have no idea whether that information is available via any API.

I suggest that if you want to keep a positional counter which is updated in real time that you write a Java thingy for the field in question.

David
Re: Dynamic Number count [message #171889 is a reply to message #171764] Fri, 12 May 2006 02:23 Go to previous message
gacki
Messages: 33
Registered: May 2006
Location: Dueren, NRW, Germany
Member
Check out otn.oracle.com. Registration is free. They provide sample code for forms, and they have a Cursor Position PJC Demo, which is namely for 9i and 10g, but source code is provided and might help you for 6i.

Gerald

Previous Topic: big problem in running forms
Next Topic: a array from a plsql package to Forms
Goto Forum:
  


Current Time: Fri Sep 20 09:56:20 CDT 2024