Click to See Complete Forum and Search --> : addrecordtoempty ms access dataset


jim enright
December 21st, 2006, 11:48 PM
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


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

jim enright
December 25th, 2006, 06:00 PM
resolved - ultimately found ms access table was misbehaving.
deleted it and recreated and everything worked fine.