Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 10-09-2007, 09:22 AM   #1 (permalink)
shanet68

Join Date: Feb 2007
Location: Milwaukee, WI
Posts: 5
Rep Power: 0 shanet68 is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- NetCommunity (BBNC)
- API/VBA

Creating grid using API to view Education Attributes

Hello,

Can any one help with this. I'm writing code to view only education attributes. I am unable to do so. Currently I have code that does display Constiuent Attributes. How do I change this to display Education Attribues? Please Help. Frustrated again:

PrivateSub PopulateGrid()
_dgvedAttributes.Rows.Clear()
Dim ats AsNew CAttributeTypeServer
ats.Init(AppSession.CurrentHost.SessionContext)
ForEach attr As IBBAttribute In _rec.Attributes
With attr
Dim newRow AsString() = { _
.Fields(EattributeFields.Attribute_fld_ATTRIBUTETYPES_ID), _
ats.GetAttributeTypeDescription(.Fields(EattributeFields.Attribute_fld_ATTRIBUTETYPES_ID)), _
.Fields(EattributeFields.Attribute_fld_VALUE), _
.Fields(EattributeFields.Attribute_fld_ATTRIBUTEDATE), _
.Fields(EattributeFields.Attribute_fld_COMMENTS)}
_dgvedAttributes.Rows.Add(newRow)

EndWith
ReleaseComObject(attr)
Next
ReleaseComObject(ats)
EndSub
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 10-11-2007, 11:40 PM   #2 (permalink)
o o o o o o o o o o o o o o o o o o

JeffMon's Avatar

Join Date: Aug 2006
Location: Charleston, SC
Posts: 54
Rep Power: 3 JeffMon is on a distinguished road

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

Not sure from your example, but I would bet it's going to depend on what your "_rec" object is... if it's a constit, you're gonna get constit attributes. If it's an education relationship, you'll get what you want.


-Jeff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
api education attributes


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Phoenix Landscaping - Credit Counseling - Internet Marketing - Loans
All times are GMT -6. The time now is 02:41 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64