Home » Developer & Programmer » Forms » Chatting Application (Forms [32 Bit] Version 10.1.2.0.2 (Production),windows 7)
Chatting Application [message #597348] Thu, 03 October 2013 09:39 Go to next message
thelearner
Messages: 122
Registered: April 2013
Location: INDIA
Senior Member
Hi,
I want to create chatting Application using/without using pjc java bean.
I want to develop application internal chatting application without using IP address.
if there is any possibility by using only System name users can chat.
Because we are using dynamic IP address configuration.

Thanks & Regards,
The Learner.

Re: Chatting Application [message #597354 is a reply to message #597348] Thu, 03 October 2013 11:38 Go to previous messageGo to next message
thelearner
Messages: 122
Registered: April 2013
Location: INDIA
Senior Member
I want to display like this way....

A) Text_item_A B)Text_item_B

1) When I enter text in Text_item_A then it stores in one variable.

2) when I press send button it should display in Text_item_B along with previously entered text.

Like..
Jin: Hi, How r u..

Smith: Fine, what about u? 
.....

Please tell me how to do this?


Thanks & Regards,
The Learner.

[Updated on: Thu, 03 October 2013 11:39]

Report message to a moderator

Re: Chatting Application [message #597360 is a reply to message #597354] Thu, 03 October 2013 13:04 Go to previous messageGo to next message
Littlefoot
Messages: 19697
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Here's a simple "solution"; I didn't try it, I'm just thinking aloud.

Create a table and a sequence:
create table chat
  (id         number,           -- sequence
   text_date  date,             -- sysdate
   text_user  varchar2(20),     -- person who is chatting
   text       varchar2(500)     -- what did that person say
  );
create sequence seq_chat;

In a form, create two blocks.

One of them would be used to insert a text line into the CHAT table; as an ID, you'd use previously created sequence. TEXT_DATE should equal SYSDATE.

Another block is a multirecord block, based on the CHAT table, set its ORDER BY clause to ID DESC. Set a timer which will automatically preform EXECUTE_QUERY.

So, you'd enter some text into the table; query would display it in a multirecord block. Anyone who runs that form would see people chatting.
Re: Chatting Application [message #597361 is a reply to message #597360] Thu, 03 October 2013 13:33 Go to previous message
thelearner
Messages: 122
Registered: April 2013
Location: INDIA
Senior Member
Actually, I want to display all messages in one Text item.


Is it possible?
Previous Topic: Enable_list_lamp is not working
Next Topic: Field column setting
Goto Forum:
  


Current Time: Fri Oct 24 23:01:08 CDT 2014

Total time taken to generate the page: 0.09532 seconds