Re: Error on updating database

I think the error start at the top, where you say the newrecord is a new record in the ds.
i believe you should try with dim newrow as row ?

Then set the details for the row, then add it with the update to the ds

Sorry for lack of details of my program
I have a new datarow but still I still get the error.
I have tried putting this code to get rid of the error but now
the problem it does not yet update the database
below here is the code of my program that dont have error but doesnt update yet