Community
Showing results for 
Search instead for 
Do you mean 
Reply

Why does IsRecurringEvent on Activities not working

Astute Commentator
Posts: 168
Country: United States

Why does IsRecurringEvent on Activities not working

Why does the isRecurringEvent on recurring activities not work?

 

I have specifically created a new ACT! database with 1 contact and 1 daily recurring activity. When I retrieve the activity and use the IsRecurringEvent , I always get a false. Why's that?

 

Which leads to the next question: how can one RELIABLY query a recurring activity whether it is recurring or not?

 

Thanx in advance.

 

T

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Why does IsRecurringEvent on Activities not working

Have you tried the RecurFreq property? If the value does not equal 0 then it's a recurring activity.

 

-- Jim Durkin

 

Employee
Posts: 1,163
Country: USA

Re: Why does IsRecurringEvent on Activities not working

[ Edited ]

Based on the information regarding this particular property from the code reference, it appears as though it should return false for a daily recurring activity, here is the description:

 

Returns true if the activity is an Event, and occurs every year or every month.

 

I'm not sure why this is the case, however RecurFreq should return zero for all non-recurring activities.

Matthew Wood
Act! SDK Support
Community Moderator
Astute Commentator
Posts: 168
Country: United States

Re: Why does IsRecurringEvent on Activities not working

Thanx.

 

From your description, it appears to not work with daily recurring events. I'll use the RecurrFreq instead.

 

Thanx.

 

T