PRJ98: Notes Field Truncated when Using Notes Property in Macro (173747)



The information in this article applies to:

  • Microsoft Project 98 for Windows

This article was previously published under Q173747

SYMPTOMS

In Microsoft Project 98, when you run a Visual Basic macro that uses the Notes property, the notes text result is truncated. The following macro demonstrates this problem:
   Sub test()
      MsgBox ActiveProject.Tasks(1).Notes
   End Sub
				

CAUSE

This problem occurs because the notes property returns the first 255 characters entered into the Notes field for a task, a resource, or an assignment.

STATUS

Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed above.

This problem was corrected in Microsoft Project 98 for Windows, Service Release 1 (SR-1).

For additional information about obtaining and installing SR-1, click the article number below to view the article in the Microsoft Knowledge Base:

185102 PRJ98: How to Obtain and Install MS Project 98 SR-1

MORE INFORMATION

NOTE: Though this issue is corrected in Microsoft Project 98 SR-1, the message box (msgbox) function allows a maximum length of a prompt of approximately 1024 characters, depending on the width of the characters used.

Modification Type:MajorLast Reviewed:10/17/2002
Keywords:kbbug kbusage KB173747