reflection of data in two screens

reflection of data in two screens

  

consider 2 screens , 2 screens has common fields city and state , if I change the state or city in one screen it should reflect in the other screen also. How can I implement this ?

Solution

Hi Mathi,

You can't do that*. Web apps retrieve data and display that data. There's no way for a web page to be notified when data in the database changes. Why would you need such a set-up?

*Yes, you can periodically refresh your screens and refetch the data etc., but this is not practical.

Solution

Kilian Hekhuis wrote:

Hi Mathi,

You can't do that*. Web apps retrieve data and display that data. There's no way for a web page to be notified when data in the database changes. Why would you need such a set-up?

*Yes, you can periodically refresh your screens and refetch the data etc., but this is not practical.

Thank you