INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

(OP)
Hi,

when two users (from different machine) run my application - each user open window w1
one user insert new record then save it to database (commit)
this new record can not be displayed for the other user ( by using ScrollNextRow() or ScrollPriorRow() )
the new record display to other user if he close this window then re_open it . as he execute datawindow.retrieve()
how can i make the changes(insert or delete) to be displayed to all other users on differnt machine already open this window

RE: how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

You would have to set up a timer event on the datawindow to re-retrieve the data at some interval (x seconds for example).

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

RE: how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

(OP)
thanks Matt
but
when i re-retrieve data , any changes made by the user will be discarded(omitted) unless i forced the user to save the changes
but to force user to save changes that may be no completed yet , make user to be uncomfortable
also when i re-retrieve data i must retrieve to the record the user was on make over load on the program as it execute every x seconds

RE: how can i make the changes(insert or delete) to be displayed to all other users on differnt machine

maybe refresh row by row the not modified rows and insert the new rows. or save the modified rows then retrieve and put back the midified rows...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close