Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-user file lock probs with general fields
Message
De
30/08/2000 12:44:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00410297
Message ID:
00410859
Vues:
15
>Are you doing editing of these documents, or are they chiefly for viewing?

Yes, there is editing going on. Now here's something that may apply: Did you know that opening a Word document for edit via DoVerb or Double-click in an OLEBoundControl and will cause GETFLDSTATE to be set to modified for the General field?

This means you should TABLEREVERT or TABLEUPDATE the table or view after allowing editing even if nothing was changed.

And this may explain your problem: If the same view or table or view base table is opened elsewhere and not buffered.....

>In our environment, these documents are being edited with in-place activation in an olebound control in a form, but we're about to move to out-of-place activation due to a now known bug with word 97 and 2000 when used via an olebound control in vfp (yes, they even used the code from my sample I sent them in the KB article without mentioning me...).
>
>Are your word docs being used with in-place or out-of-place activation? What kind of form buffering and cursor buffering are you using with your view?

In my case, I use in-place activate. And I force a TABLEUPDATE or REVERT before allowing any record change due to what I mentioned before.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform