CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    ks
    Posts
    524

    Lightbulb addrecordtoempty ms access dataset

    i can do all the basic ops to an ms access table that has records in it
    through a vc7.0 gui interface (add, delete, save etc).
    adding a record to such a table basicaly is

    Code:
    recordsetptr->MoveLast();
    recordsetptr->AddNew(AddRecord);
    loop thru rec fields
       change values
       recordsetptr-Update(.,.);
    running throug the above step in different steps all failed when
    the table was empty to start with. would appreciate insight
    on how to get that first record in.

    thanks

  2. #2
    Join Date
    Oct 1999
    Location
    ks
    Posts
    524

    Re: addrecordtoempty ms access dataset

    resolved - ultimately found ms access table was misbehaving.
    deleted it and recreated and everything worked fine.

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