View Single Post

Old 02-04-2008, 08:38 AM   #2 (permalink)
DavidZ DavidZ is offline
Likes to customize RE!

DavidZ's Avatar

Join Date: Jul 2006
Location: London, UK
Posts: 339
Rep Power: 3 DavidZ is on a distinguished road

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

Ivan,

To add attributes you need a new SetupBatchField function specfically for attributes. Something like the following:


Code:
 
Private Sub SetupBatchAttributeField(ByVal oBatchField As CBatchField, ByVal lAttributeField As EattributeFields)
    With oBatchField
        .Fields(BatchField_fld_MetaObjectId) = bbmoGIFT_ATTRIBUTE
        .Fields(BatchField_fld_FieldNumber) = lAttributeField 
    End With
End Sub
Let me know if you need any more help

David
__________________
David Zeidman
Zeidman Development
http://www.zeidman.info

Check out my RE API blog
http://www.re-decoded.com

Reply With Quote