>I understand that part its just the state variable that I am having trouble with. Not sure what how that is linked to the actual days of the week and makes them bold.
The state is array with 'count' logical items and default values of .F. for all of them. The first item coresponds to the 'startdate' and so on.
--sb--