Reply

Inactive and Active status of occurance

[ Edited ]

 

Hi all,

How to get the status of  "Active" or "Inactive" of an occurance or suboccurance.

Thanks

Jaya

 

Posted by: jaya priyan
Post date: 1/27/2008 11:06:22 PM

4 REPLIES

Re: Inactive and Active status of occurance

Did you ever figure this out?

Re: Inactive and Active status of occurance

Use the Activate proprety
regards

JB
VS2015, SE ST10

Re: Inactive and Active status of occurance

Ah, OK. Thanks. Overlooked this as it looked like a method for setting active/inactive. Assume I was being dumb then and this will report the active/inactive status of an occurrence too? Dim IsActive = Occurrence.Activate?

Re: Inactive and Active status of occurance

Yes, as Activate is a Property it has a get and set function.
The name is misleading ;-)
A = occ.Activate reads the current activation state while occ.Activate = True/False activates or deactivates the occurrence
regards

JB
VS2015, SE ST10