How to Append Clone Rec?

T

tom

Hello,

I just simply want to append a clone record. Basically, I cloned a record
then modified couple of fields and then I wanted to append this modified
record to the table.

----------------------------------------------------------------------------
-----------------------------
Dim curRec As Recordset

'modify current record
Set curRec = Me.RecordsetClone
curRec.Fields(DSCRIPTION).Value = "Blah blah blah blah blah"
curRec.Fields(DUE_DATE).Value = curRec.Fields(DUE_DATE).Value - 45

'Now I wont to append the modified record to the database
' I've tried something following but I got error : "Can't assign to read
only property"
Me.AllowAdditions = True
????????
Me.NewRecord = curRec
????????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top