Link to home
Start Free TrialLog in
Avatar of computech1
computech1

asked on

Real Time Programing

Hi,

How can I make recoredset that allways connected to DB and changing according to updates in the database.

I meen if I change the data in the table on the SQL server from other computer the recordset will update automatically.

Kind of "Online RecoredSet".

Avatar of nutwiss
nutwiss
Flag of United Kingdom of Great Britain and Northern Ireland image

you could just call 'requery' each time you access it...
Avatar of cmgarnett
How about using a timer with nutwiss' requery behind it?
What is your database engine?
<listenning..>
This is well beyond what current HTML/ASP architecture is supposed to do. But it is possible with a combination of several architectures:

You'll need to do something like:
Create a java applet which uses the Netscape extensions to allow it to talk back to the controlling page (don't forget the MAYSCRIPT)
The java app will open a socket to the web server and wait for messages. When it receives a message it will call a javascript on the webpage to update the relevant fields.
On the SQL server, you can build an activeX extension to send a message to the webserver on demand. You then link this in to update triggers on the tables you want to modify.
On the web server you create an application which can accept requests from the client web pages java apps, and process messages sent from the SQL server, sending the messages out to the client java apps.

Not exactly a simple or elegant approach, but it's more or less the only feasible way you can do this with the current internet architecture.

Anybody know if SOAP can marshall events? This would help things out a lot (in simple terms SOAP is just the java socket app thingy mentioned above, using an XML message)
Avatar of computech1
computech1

ASKER

andyclap

I wanna use only VB6 base on Access/SQL DB.
Don't what to mix with other architectures.

What whould happend if both users update the same record in same moment ? ?
What Whould happend if both users update the same record ?
ASKER CERTIFIED SOLUTION
Avatar of andyclap
andyclap
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
computech1:

You have many open questions:

https://www.experts-exchange.com/jsp/qShow.jsp?qid=20139202
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20146067
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20149111
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20152781
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20245584
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20260613

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
CS:  https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!


thanks!
amp
community support moderator

2/3