If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to Append Clone Rec?
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 ???????? ---------------------------------------------------------------------------- ----------------------------- Any help is greatly appreciated, Tom |
Thread Tools | |
Display Modes | |
|
|