Re: Refresh Problem
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Fri, 6 Jul 2007 08:28:28 -0700
Workstations won't know about another workstation's locks until they try to
read the record. Instead of displaying the field contents, try assigning it
to a (unused) variable.
Dan
Jeff Grippe wrote:
Hello and thanks in advance for the help.
I am having one of those problems which goes away when you try to
observe it.
I have a shared messaging application in which the data can be
updated by any user. The user must lock the message before updating
and then unlock it when they are finished. When they press the lock
button, all other users viewing the message should have their title
bar changed to read "LOCKED BY USERX". When the user unlocks the
message the title bar should say "UNLOCKED".
The changing title bar works eratically and the problem seem to be
with the call to loWindow.refresh.
If I put in a debugging statement such as:
=MESSAGEBOX("Content.RWUser is " + ALLTRIM(content.rwuser))
right before loWindow.refresh,
It works every single time and as soon as I close the messagebox, the
refresh does what it is supposed to do.
If I take out the MESSAGEBOX statement it won't always refresh the
window.
Does anyone have any ideas about why refresh would behave eratically
at times?
Thanks,
Jeff
.
- Follow-Ups:
- Re: Refresh Problem
- From: Jeff Grippe
- Re: Refresh Problem
- References:
- Refresh Problem
- From: Jeff Grippe
- Refresh Problem
- Prev by Date: Re: Refresh Problem
- Next by Date: Re: Memo Files Keep Getting Corrupted - Help
- Previous by thread: Re: Refresh Problem
- Next by thread: Re: Refresh Problem
- Index(es):