Home » Developer & Programmer » Forms » Count Characters
Count Characters [message #179815] Wed, 28 June 2006 21:58 Go to next message
ehegagoka
Messages: 493
Registered: July 2005
Senior Member
hi!
is it possible in oracle forms6i to count the characters left in a text field as you typed on it? i created a sample but its not snychronize, i mean you need first to click the button to count the number of characters left. im thinking of displaying the message as you typed on it. thank you so much sir/mam

ryan c",)
  • Attachment: counter.fmb
    (Size: 44.00KB, Downloaded 1024 times)
Re: Count Characters [message #180026 is a reply to message #179815] Thu, 29 June 2006 20:02 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Oracle Forms is a 'block' mode, event driven application. It doesn't do character by character. Either write soemthing in VB or use a Java thingy. Search this forum for 'Java thingy' to see what other people have done.

David

[Updated on: Sun, 02 July 2006 18:10]

Report message to a moderator

Re: Count Characters [message #180033 is a reply to message #180026] Thu, 29 June 2006 21:11 Go to previous messageGo to next message
ehegagoka
Messages: 493
Registered: July 2005
Senior Member
hi!

thanks for the fast reply, ive read through the results, but i cant find anything related, i need to synchronously count the characters being typed by the user, thank you so much sir =)
Re: Count Characters [message #180280 is a reply to message #180033] Sun, 02 July 2006 18:09 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Go to http://www.oracle.com/technology/products/forms/index.html and under 'resources' on the right hand side you will find 'Source Code' (which contains "JavaBeans/PJC Samples")and 'PJC/Bean Library(External)'. Research those two sites.

David

[Updated on: Sun, 02 July 2006 18:10]

Report message to a moderator

Re: Count Characters [message #180283 is a reply to message #180280] Sun, 02 July 2006 20:08 Go to previous messageGo to next message
ehegagoka
Messages: 493
Registered: July 2005
Senior Member
hi!
thank you so much for the reply, i've check the site

http://forms.pjc.bean.over-blog.com/

but doesnt it work only on web-forms, and not on a stand-alone fmb/fmx?
Re: Count Characters [message #180320 is a reply to message #180283] Mon, 03 July 2006 01:55 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I don't understand what you mean by the concept 'stand-alone fmb/fmx'. You either run the form from your Forms Builder session or you run it via the Oracle Application Server. Either way, it should work.

David
Re: Count Characters [message #180505 is a reply to message #179815] Mon, 03 July 2006 23:59 Go to previous messageGo to next message
Rehan Mirza
Messages: 67
Registered: July 2004
Location: Pakistan
Member

Here is sample for you, if any confusion please reply or mail me at mirza_rehan@yahoo.com

take care
  • Attachment: counter.fmb
    (Size: 52.00KB, Downloaded 1033 times)
icon14.gif  Re: Count Characters [message #180508 is a reply to message #179815] Tue, 04 July 2006 00:04 Go to previous messageGo to next message
Rehan Mirza
Messages: 67
Registered: July 2004
Location: Pakistan
Member

This form is much better then above form, if any problem exist please reply or mail me at mirza_rehan@yahoo.com

take care
  • Attachment: counter.fmb
    (Size: 52.00KB, Downloaded 1038 times)
Re: Count Characters [message #180702 is a reply to message #180508] Tue, 04 July 2006 21:08 Go to previous message
ehegagoka
Messages: 493
Registered: July 2005
Senior Member
hi miss!

thank you so much for your reply, your code was great it works fine, id have one problem left though, the cursor always points to the start of the text item after i typed a space bar after the last letter, ill check what i can add on it.
Previous Topic: HOST COMMAND PROBLEM
Next Topic: File Transfer From UNIX to WINDOWS Using Oracle Forms - URGENT!!!!!!
Goto Forum:
  


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