AronGahagan / cpt-dev

Code repository for the ClearPlan Toolbar
https://www.ClearPlanConsulting.com
3 stars 1 forks source link

cptSmartDuration - catch when oTasks Is Not Nothing but oTasks(1) Is Nothing #368

Closed AronGahagan closed 6 months ago

AronGahagan commented 6 months ago

Problem:

User reports: inserting a task trips an error. Strangely, oTasks is not nothing but oTasks(1) is nothing.

Solution:

Add If oTasks(1) Is Nothing Then goto exit_here

Todo:

AronGahagan commented 6 months ago

Updated version fails when user selects a Group By Summary. Account for this and refine logic.