Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Locate dates in resource view with only 1 item (Read 1350 times)
dt-devman
YaBB Newbies
*
Offline



Posts: 1
Joined: May 30th, 2008
Locate dates in resource view with only 1 item
Aug 21st, 2008 at 11:37am
Print Post  
I am using vb.net 2.0 framework. I have a selection of resources over a date range and want a collection object of all individual dates, regardless of resource, where there is only one item in that date/cell

any help or advise would be most gratefull
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Locate dates in resource view with only 1 item
Reply #1 - Aug 21st, 2008 at 12:00pm
Print Post  
Use the Schedule.GetAllItems method, passing the start time and end time of a cell of interest (use the override that does not specify a resource). Then check the number of elements in the returned item collection. You can do this for all cells in the interval and keep the dates that match your criteria in a dedicated collection.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint