PRJ: Incorrect TimescaledData Syntax in Visual Basic Reference

Last reviewed: November 24, 1997
Article ID: Q143069
The information in this article applies to:
  • Microsoft Project for Windows, version 4.0

SUMMARY

The Visual Basic Reference Help for Microsoft Project lists "finishDate" as an argument for the TimescaledData method. This information is incorrect. The correct name of the argument is "endDate." The correct syntax of the TimeScaledData method is as follows:

   [object.]TimescaledData(taskID, resourceID, startDate, endDate, type,
   timescaleUnit, count)

The Visual Basic Reference Help for Microsoft Project also lists "SetDefaults" as an argument for the OptionsView method. This information is incorrect. There is not a SetDefaults parameter.

MORE INFORMATION

If you attempt to use the "endDate" or "SetDefaults" parameters, you will receive the following error message:

   Named argument not found


Additional query words: 4.00

Keywords : kbcode kbprg kbdocerr kbprg kbusage
Version : 4.00
Platform : WINDOWS
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.