03-03-2008, 05:58 PM
|
#9 (permalink)
|
| Junior Member Join Date: Jan 2008 Location: Atlanta, GA
Posts: 12
Rep Power: 0  | Ok, this works:
----------------------------------------------------------- 'Add gift "oGift" to batch "oBatch" Dim oTempRecord As BatchData7.CTempRecord Dim oTempRecords As CTempRecords Set oTempRecords = oBatch.TempRecords Set oTempRecord = oTempRecords.Add ' add the gift Set oTempRecord.DataObject = oGift ' add attribute value - in this case the 20-th batch field is my attribute's value oTempRecord.Fields(20) = "Attribute Value"
----------------------------------------------------------- *note - be sure to add a reference to "Blackbaud RE Batch Data Objects 7.5"
__________________ Ivan Vasilev Database Manager USA, Atlanta, GA |