Hi,
I have a form which contains some data. This form is always open and stays open on the screen.
But, it is possible that another user changes some data of this record.
Now I want to make this change visible on the screen that is Always open.
I have set auto refresh on the form with an interval of 5 seconds. But this is not working somehow. But when I click the standard refresh button, I do see the changes immediately.
The question is: why does auto-refresh not work? Is it ment for some other purpose?
Auto refresh
Auto refresh
Using 8.7 Professional 3025 on MySQL/Windows
Re: Auto refresh
robleer wrote:Hi,
I have a form which contains some data. This form is always open and stays open on the screen.
But, it is possible that another user changes some data of this record.
Now I want to make this change visible on the screen that is Always open.
I have set auto refresh on the form with an interval of 5 seconds. But this is not working somehow. But when I click the standard refresh button, I do see the changes immediately.
The question is: why does auto-refresh not work? Is it ment for some other purpose?
Try doing the refresh based on the OBJECT that was changed instead of auto-refresh.
Thanks in advance!
Cris
MSSQL 2008R2, Aware 7 b2146, IE11, , Firefox 35.0.1, Windows 8 Bootstrap theme
Cris
MSSQL 2008R2, Aware 7 b2146, IE11, , Firefox 35.0.1, Windows 8 Bootstrap theme
Re: Auto refresh
Cris, can you clarify what you're saying? Perhaps a screen shot.crisg0112 wrote:robleer wrote:Hi,
I have a form which contains some data. This form is always open and stays open on the screen.
But, it is possible that another user changes some data of this record.
Now I want to make this change visible on the screen that is Always open.
I have set auto refresh on the form with an interval of 5 seconds. But this is not working somehow. But when I click the standard refresh button, I do see the changes immediately.
The question is: why does auto-refresh not work? Is it ment for some other purpose?
Try doing the refresh based on the OBJECT that was changed instead of auto-refresh.
Re: Auto refresh
in the auto refresh screen of the form, choose the BO that will refresh the form when it's saved. the option location is in top of "refresh form automatically every second" option.
Re: Auto refresh
Well, that's what I thought Cris was saying and I had tried it before (selecting the object and the timer) but the form would not show the new data that was saved by another user.mrbdrm wrote:in the auto refresh screen of the form, choose the BO that will refresh the form when it's saved. the option location is in top of "refresh form automatically every second" option.
Of course, this was on development machine that I had opened up a second tab on browser and running the app. But the app in the first tab wouldn't recognize the new data. But if I press the refresh button, I would then see it.
Re: Auto refresh
Autorefresh at 5 second interval definitely works. I just tested it with a simple BSV.I have set auto refresh on the form with an interval of 5 seconds. But this is not working somehow.
By the time I would flip look at the screen of a second user logged into the same BSV to look at the query, new instances added by the first user were already displayed on the screen.
Tom - V8.8 build 3137 - MySql / PostGres
Re: Auto refresh
Hi Ben, others,
At my installation it does not work. Same behaviour as Ben described.
Bye,
Rob
At my installation it does not work. Same behaviour as Ben described.
Bye,
Rob
Using 8.7 Professional 3025 on MySQL/Windows
Re: Auto refresh
I didn't originally see that Ben indicated he tried this running two sessions in different tabs of one browser:At my installation it does not work. Same behaviour as Ben described.
To accurately test this, put your sample BSV on a production server & access the BSV from two different computers.Of course, this was on development machine that I had opened up a second tab on browser and running the app. But the app in the first tab wouldn't recognize the new data. But if I press the refresh button, I would then see it.
Tom - V8.8 build 3137 - MySql / PostGres
Re: Auto refresh
Yes Tom, that's how I could only test it and didn't work from multiple sessions.tford wrote:I didn't originally see that Ben indicated he tried this running two sessions in different tabs of one browser:At my installation it does not work. Same behaviour as Ben described.
Thanks!
Re: Auto refresh
Using two differten browsers is an option too.
If you use IE and Chrome, you do not need two computers...
If you use IE and Chrome, you do not need two computers...
Using 8.7 Professional 3025 on MySQL/Windows