View Single Post

Old 03-03-2008, 05:58 PM   #9 (permalink)
IVasilev IVasilev is offline
Junior Member

Join Date: Jan 2008
Location: Atlanta, GA
Posts: 12
Rep Power: 0 IVasilev is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- API/VBA

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
Reply With Quote