DOCERR: Insert Method Does Not Exist for Columns Collection (149701)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 4.0
  • Microsoft Visual Basic Professional Edition for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition for Windows 4.0

This article was previously published under Q149701

SYMPTOMS

Using the Insert method on the DBGrid Columns collection results in error 438 - Object doesn't support this property or method.

CAUSE

The Language Reference Guide for Visual Basic for Windows (page 473) refers incorrectly to the Insert method of the DBGrid Columns collection. The correct name of the method is Add, not Insert.

WORKAROUND

Use the correctly documented Add method in Visual Basic online Help.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:KB149701