PRB: Cannot Modify DataChanged Property of DBGrid Column Object (172083)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0

This article was previously published under Q172083

SYMPTOMS

Trying to change the value of the DataChanged property of a DBGrid's Column object generates the error 438:
"Object does not support this property or method."

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Visual Basic 5.0. Form1 is created by default.
  2. Place a DBGrid on Form1.
  3. Place a CommandButton on Form1.
  4. Put the following code in the CommandButton's Click Method:
          DBgrid1.columns(1).datachanged = false
    						
  5. Run the form and click the CommandButton.

Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbprb KB172083