PRJ4: Bad Duration with 0 Hrs Per Day or 0 Hrs Per Week
  
PSS ID Number: Q124537
Article last modified on 08-24-1995
 
4.00    | 4.00
 
WINDOWS | MACINTOSH
 

--------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Project for Windows, version 4.0
 - Microsoft Project for the Macintosh, version 4.0
--------------------------------------------------------------------
 
SYMPTOMS
========
 
In Microsoft Project, when you set the default hours per day or default
hours per week to 0, task duration may resemble the following:
 
   1.#Jd
 
   -or-
 
   -1.#Jw
 
   -or-
 
   1.#Rd
 
CAUSE
=====
 
This behavior occurs when you enter the value 0 in the Hours Per Day box or
the Hours Per Week box on the Calendar tab in the Options dialog box. The
Hours Per Day value and the Hours Per Week value represent the number of
hours that you want Microsoft Project to assign to a task when you enter a
duration of a day or a week. The value 0 is not valid for these settings.
 
Note that this behavior may also occur when you run a macro that contains
the OptionsCalendar method, if the HoursPerDay or HoursPerWeek argument is
set to the value 0, an invalid value, or if the argument is set equal to a
variable that has not been given a value (null).
 
WORKAROUND
==========
 
To avoid this behavior, enter the correct value in the Hours Per Day box
and the Hours Per Week box on the Calendar tab of the Options dialog box.
 
STATUS
======
 
Microsoft has confirmed this to be a problem in the products listed at the
beginning of this article. We are researching this problem and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
 
KBCategory: kbother
KBSubcategory:
 
For more information about the Calendar Tab (Options Dialog Box), choose
the Search button in Help and type:
 
    Calendar tab
 
Additional reference words: 4.00 machine
=============================================================================
Copyright Microsoft Corporation 1995.
