If the logon was successful, then more work needs to be done. Firstly, you must ask the EntepriseSession's Service
function to create an InfoStore
object that will interface with the APS (continuing from the previous example in Adding a Logon function).
Set iStore = Sess.Service ("", "InfoStore")
The InfoStore
object allows you to do things such as query the APS and write changes back to the APS when you have modified Crystal Enterprise objects. Store the InfoStore
object that the Service
method provides in the Session
object for later use.
Note: The Session object is not the same as the EnterpriseSession.
The former is used to store information about the user's current session with the Web Component Server while the latter is used to provide information about the user's current session with the APS.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |