Welcome to Forums Sign in | Join | Help | Forums
in Search


RE class object initialised

Last post 02-05-2007 7:47 AM by David Zeidman. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-04-2007 8:51 PM

    RE class object initialised

    I came across a snippet of code some weeks ago where one could inquire as to whether an RE class object has been initialised or not. Would anybody know where that code is? Cheers, Gary Hay The Wilderness Society Hobart, TAS, AUS
  • 02-05-2007 7:47 AM In reply to

    • David Zeidman
    • Top 25 Contributor
    • User Since: 2002
    • Posts 326
    • Organization: Zeidman Development
    • Products:  Blackbaud Direct Marketing, Blackbaud Enterprise CRM, The Information Edge, The Raiser's Edge

    RE class object initialised

    You probably want to make use of the IBBDataObject's property "Initialized". All data objects implement the IBBDataObject interface. An example is shown below: Public Sub testInit() Dim ocon As New CRecord Dim odataobj As IBBDataObject Set odataobj = ocon If odataobj.Initialized = False Then MsgBox "Object is not initialized" Else MsgBox "Object is initialized" End If ocon.Init SessionContext If odataobj.Initialized = False Then MsgBox "object is not initialized" Else MsgBox "object is initialized" End If ocon.CloseDown Set ocon = Nothing End Sub David Zeidman Development http://www.zeidman.info
    David Zeidman
    Zeidman Development
    http://www.zeidman.info

    Check out my RE API blog
    http://www.re-decoded.com
Page 1 of 1 (2 items)