The Obsolete API

Inspired by a posting on Wired (which in turn was taken from a Wiki on obsolete technologies) I wanted to give you a list of the top five obsolete areas of the RE:API.

  1. CIndividual and constituent Relations collection. This saw the promotion of individuals (and organizations, soliciters, etc) to top level objects. This was looked at in more detail in an earlier post.
  2. The CAction field ACTION_fld_NOTES. When the action notepad was introduced the notes field was removed. The notes that were added to that field were made into their own notepad.
  3. All the Gift Aid fields on the constituent record. When multiple Gift Aid declarations were allowed on a record the individual fields on the record were no longer in use. Instead the CTaxDeclarations collection consisting of many CTaxDeclaration objects store these values.
  4. Seating?
  5. Active Objects in the VBA environment. These can still be used but they are not being developed further. Instead of using the ActiveConstituent BeforeOpen event it is better to use the alternative. If you go through the RE Code Wizard there are many more options and many more events there e.g. ActiveBatch does not contain any before validation methods just before posting methods.

If you know of any other ones then feel free to add them in the comments. If you know of any that should be obsolete then let us know too!

2 thoughts on “The Obsolete API

  1. Hi, can you elaborate on this point in #5:
    “Instead of using the ActiveConstituent BeforeOpen event it is better to use the alternative. If you go through the RE Code Wizard there are many more options”

    What is the alternative, and what is the RE Code Wizard?

    Thanks,
    George

  2. There are two methods for handling events in VBA. You can either use the Active Objects (found under RE7 Objects in the project tree) or you can use the RE Code Wizard that creates event handlers for you. The RE Code Wizard is started by selecting it from the tool bar. It is a toolbar menu that appears by default. When you select it you get a list of objects some of which appear in the active objects list but others such as all the relationship objects (individual, organisation, education, etc), the custom front end methods, the on merge methods, etc.

    David

Comments are closed.