Notices


Reply
 
LinkBack Thread Tools Display Modes

Old 10-31-2007, 03:18 PM   #1 (permalink)
Junior Member

Join Date: Oct 2007
Posts: 4
Rep Power: 0 cbest is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)
- API/VBA

SuperData?

Does anyone have any info about the SuperData property of Blackbaud.PIA.RE7.BBInterfaces.IBBSessionContext interface? I'm trying to determine whether this propery can get me info on the DSN being used in the session context, so that when I make direct (ADO) connections to a database I know for sure that I'm connecting to the same database that RE is attached to. Also, if this is a property that will help my cause, what's up with the license key string it requires? I've tried to use my serial number and my product/package keys, but apparently none of them are "valid" for use of this property. If any one knows something about this or knows of an alternate solution for ensuring that direct connections are being made to the same DB as RE, please reply.
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 11-06-2007, 11:40 AM   #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

SuperData is for Blackbaud internal use only. However you could just add your own login to the DB...
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 11-23-2007, 05:50 AM   #3 (permalink)
Junior Member

Join Date: Nov 2007
Location: London
Posts: 1
Rep Power: 0 jestar42 is on a distinguished road

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

Have a look at SessionContext.RegRoot, this gives the root location in the HKLM branch of the registry, and under the General key is the DSN that the current connection is using. I use an api function to get the string (I'm using VB6 for this)

sDSN=GetRegistryValue(HKLM, oSessionContext.RegRoot & "\General", "DSN")

which returns the DSN, that I then use to construct the ADODB connection string (using ODBC)

adDB.Connection = "ODBC;DSN=" & sDSN & ";UID=<custom db user>;PWD=******"

This still requires that you are able to create a user on the SQL server with (ideally) read-only permissions on the RE database.

Hope that helps

Wayne Tarr
London, UK
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
re7, pia, ibbsessioncontext, bbinterfaces, api, ado, superdata


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


Cheap Electricity - Loans - Mobile Phone - Credit Card Consolidation
All times are GMT -6. The time now is 12:16 PM.

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