Public Folder Posts Don't Update 
Author Message
 Public Folder Posts Don't Update

Has anyone else had a problem with Public Folder Posts not updating? I have
a form that reads information from a public folder post and occasionally
changes that information. With and oject representing the post I use the
Save method to "Save" the information.
   The user that saves the info can now see the changes but no one else can.
Everyone else sees the pre-edited version. In fact, I can have four
different users edit the same information at 10 minute intervals from each
other and when done they see four different sets of information. An hour
later - maybe - a flury of conflict messages will go out.

Does anyone have a clue what's happening here? I don't!

Dav Banks



Sat, 23 Nov 2002 03:00:00 GMT  
 Public Folder Posts Don't Update
You need to check the PF replication time period on each of your Exchange
servers.  If your replication period is set too high, it'll take a while for
all of your users to see updates.  Changes to public folder items aren't
instantaneous.


Quote:
> Has anyone else had a problem with Public Folder Posts not updating? I
have
> a form that reads information from a public folder post and occasionally
> changes that information. With and oject representing the post I use the
> Save method to "Save" the information.
>    The user that saves the info can now see the changes but no one else
can.
> Everyone else sees the pre-edited version. In fact, I can have four
> different users edit the same information at 10 minute intervals from each
> other and when done they see four different sets of information. An hour
> later - maybe - a flury of conflict messages will go out.

> Does anyone have a clue what's happening here? I don't!

> Dav Banks



Sat, 23 Nov 2002 03:00:00 GMT  
 Public Folder Posts Don't Update

I found the answer to this one, I believe.

It seems that as long as the reference object remains open the changes don't really write. My previous code was something like,
  For i = 0 to n
     objMessage.UserProperty(MyArray(i).Name).Value = MyArray(i).Value
  Next
  objMessage.Save
As stated, this doesn't work - though it makes no sense to me why it wouldn't! Design flaw or feature? You decide! Anyway, if two users were looking at the information and one user changed the info using the code above, the second would not see the changes if they refreshed or opened the form. However, using the code below seems to work,
  For i = 0 to n
     objMessage.UserProperty(MyArray(i).Name).Value = MyArray(i).Value
  Next
  objMessage.Save
  Set objMessage = Nothing
Releasing the object, as above, seems to cause the data to write so others can see it. What a nice undocumented feature! :)
--

Dav Banks
__________________________________________________________________________________________________
Network Services - Activations
UUNet Technologies                            Office: 703.645.4280

Quote:

> Has anyone else had a problem with Public Folder Posts not updating? I have
> a form that reads information from a public folder post and occasionally
> changes that information. With and oject representing the post I use the
> Save method to "Save" the information.
>    The user that saves the info can now see the changes but no one else can.
> Everyone else sees the pre-edited version. In fact, I can have four
> different users edit the same information at 10 minute intervals from each
> other and when done they see four different sets of information. An hour
> later - maybe - a flury of conflict messages will go out.

> Does anyone have a clue what's happening here? I don't!

> Dav Banks



Sun, 24 Nov 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problem linking to public folder posts

2. Public folder messages/posts have DN?

3. Names don't match posts

4. DBCombo, I don't want update access update

5. I must have a public default constructor but I don't want it called

6. Public Folder updates

7. Updating contacts in Public folder

8. Updating public folder database

9. Outlook Object - Update Public Folder

10. Update: Rollovers don't work in IE

11. functions to update DB don't wait for each other

12. Database updates don't appear...

 

 
Powered by phpBB® Forum Software