CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Posts
    44

    Datagrid problem

    I add a datagrid and bind a recordset.
    when I do that
    recordset.addnew
    recordset.cancelupdate

    I get an error message

    Empty row cannot be inserted. Row must have at least one column value set.

    Without datagrid it's work.

    What's problem
    I use VB6 SP5



  2. #2
    Join Date
    Jul 2000
    Location
    Hawaii
    Posts
    281

    Re: Datagrid problem

    there is no need to use cancelupdate

    just use update when you have added or changed data


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured