I am writing an app in Vb using Visual Studio 2005 and the RE API and have run into a problem displaying a Constituent form. Strangely I have been able to display an RE Gift form in exactly the same environment and with nearly identical code. Has anyone come upon similar problems?
The details are ...
Code
Dim
oRec.Init(REApplication.SessionContext)
oRec.Load(iRERecID)
oSuppForm.Init(REApplication.SessionContext)
oSuppForm.ConstituentObject = oRec
end code
Error message displayed is Attempt to access the method failed
The same error occurs when I use ShowFormOkCancel as well.
Blackbaud technical support had no problems running the code.
Has anyone experienced anything similar? Hopefully with a solution?
Thanks,
Peter