PRB: Cannot Modify DataChanged Property of DBGrid Column Object

ID: Q172083


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0
  • Microsoft Visual Studio 97


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.


Additional query words:

Keywords : kbVBp400 kbVBp500 kbGrpVBDB VB4WIN
Version : 4.0 5.0 97
Platform : NT WINDOWS
Issue type : kbprb


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.