Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 7 of 7 total |
Auto update when data changed |
Mon, Jun 13 2011 2:42 AM | Permanent Link |
Bronson Alex | Hi,
I am pretty new at C/S programming. I am developing a C/S database application that acts like Chat application. I don't know how to activate 'AUTO-UPDATE/REFRESH', meaning: whenever a user input new records, all other users can see the new records at the same time, so there is no need to refresh the table. I am pretty sure there is an easy way to do this. Pls help me Thx, Bronson |
Mon, Jun 13 2011 5:14 AM | Permanent Link |
Fernando Dias Team Elevate | Bronson
There is not a built in auto refresh mechanism in DBISAM, you will have to refresh the tables yourself. A simple way to do that automatically is to use a TTimer and call TDBISAMTAble.Refresh from the timer. -- Fernando Dias [Team Elevate] |
Mon, Jun 13 2011 10:53 PM | Permanent Link |
Bronson Alex | Fernando Dias wrote:
Bronson There is not a built in auto refresh mechanism in DBISAM, you will have to refresh the tables yourself. A simple way to do that automatically is to use a TTimer and call TDBISAMTAble.Refresh from the timer. -- Fernando Dias [Team Elevate] Fernando, Thx for your reply. I will do as you told. If I refresh the table too frequently (eg. every 1 minute), will it burden my server? Or maybe refreshing process doesn't take a lot of server's processing power? Thx Bronson |
Tue, Jun 14 2011 4:42 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Bronson
I think some people have experimented with UDP broadcast to get people to refresh. If you search these newsgroups you should find some posts about it. Roy Lambert |
Tue, Jun 14 2011 6:08 AM | Permanent Link |
Fernando Dias Team Elevate | Bronson,
I have done that with 5, 6 users refreshing every 30 seconds and its working very well, but the timer interval is configurable in my application, so that it can be adjusted as needed. Also, the datasets are only auto-refreshed when they are in dsBrowse mode. -- Fernando Dias [Team Elevate] |
Tue, Jun 14 2011 5:08 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Bronson,
<< Thx for your reply. I will do as you told. If I refresh the table too frequently (eg. every 1 minute), will it burden my server? Or maybe refreshing process doesn't take a lot of server's processing power? >> No, it's a pretty quick operation - it just checks the table's header to see if the update counter is different, and then dumps any buffered data, which is exactly what you want. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Jun 15 2011 2:10 AM | Permanent Link |
Bronson Alex | "Tim Young [Elevate Software]" wrote:
Bronson, << Thx for your reply. I will do as you told. If I refresh the table too frequently (eg. every 1 minute), will it burden my server? Or maybe refreshing process doesn't take a lot of server's processing power? >> No, it's a pretty quick operation - it just checks the table's header to see if the update counter is different, and then dumps any buffered data, which is exactly what you want. -- Tim Young Elevate Software www.elevatesoft.com Thanks for all your assistance. I will do refresh every xxx seconds (adjustable) while in dsBrowse mode. Regards, Bronson |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |