How to Synchronize Disconnected Recordset with Datbase Changes?



VB6, n-Tier, ADO 2.7.

I have a disconnected recordset at the UI. The user makes changes; adding,
deleting and modifying records in this recordset. When it comes time to save
these changes, the recordset is marshalled up to the database tier and batch
updated. Since the nature of the application dictates that the user is the
only one who can be modifying the records involved, I don't bother bringing
the recordset back to the UI since the UI already has the most up-to-date
data.

However, the problem is that the recordset at the UI is now marked with
adds, deletes and modifications which have already been committed to the
database. How do I mark all these changes, in the disconnected recordset at
the UI tier, as having been committed to the database?

Thanks,

- Joe Geretz -


.



Relevant Pages

  • Re: large db
    ... in your selection. ... Database has close to 100K records. ... > disconnected recordset would make the program very slow. ...
    (microsoft.public.vb.database.ado)
  • Re: How to create editable recordset without using a database tabl
    ... recordset data finally into my sql database table. ... disconnected recordset created. ...
    (microsoft.public.data.ado)
  • Re: DataRepor
    ... Sure it is...You could use a disconnected recordset and change the DataField ... So what you are doing is creating the displayed fields from the database at ... Example of Disconnected recordset with Datareport: ... > How can I create a Report in VB 6 as per User Selection. ...
    (microsoft.public.vb.general.discussion)
  • RE: Dirty Read
    ... I understand that you wants to retrieve data from ... database to a disconnected recordset and someone modified the data in the ...
    (microsoft.public.vb.enterprise)
  • Re: Create recordset without a conection
    ... If you need to create just empty disconnected recordset, ... Set loMyRecordset = New ADODB.Recordset ... > I would like to know if I can create a recordset completely in code> without a connection to a database. ... I was trying to create a disconnected recordset from a db, but I> could not disconnect it. ...
    (microsoft.public.vb.database.ado)