Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Bound Control - OLE object active ???
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00168766
Message ID:
00168782
Views:
30
Are you saying that - when editing the Word Document - you will have it open in the Word Application itself? If that is the case, you can use the GetObject() function to get an object reference to the instance of word that is already open. Once you have that, you can query the Documents Collection to see if your document is closed. As to where to place this code? I would suggest wherever you perform any navigation operations...

>Hi,
>
>I have an OLE Bound Control with ControlSource = "linked.general" where Linked is a table with embeeded Word documents.
>
>Before moving the pointer in the Linked table I need to make sure the Word document of the current record is not open. Does anyone how to find this out??
Previous
Reply
Map
View

Click here to load this message in the networking platform