Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Class Method (Procedure)

Library/Class:

StaticVars Class



Sub StaticVars.InitialiseUserProfile

InitialiseUserProfile(file As String, agent As String, fileuse As String, filetype As String)

All users have a hidden profile document storing runtime information. Integra creates this profile automatically with the first time a user runs Integra. As soon as an Integra profile is executed it will call this method to initialise the processing of the profile. A handle to the users profile is available in the stats.usrdoc property. The following fields on the user profile are initialised:


    stats.usrdoc.NotesAction = stats.NotesAction
    stats.usrdoc.Action = stats.action
    stats.usrdoc.FileName = file
    stats.usrdoc.Agent = agent
    stats.usrdoc.FileUse = fileuse
    stats.usrdoc.FileType = filetype

    ' in addition for browser executed profiles

    stats.webactdoc.ProfType = "Excel Spreadsheet"
    or
    stats.webactdoc.ProfType = "Word Document"

Parameters:
    file (String)
      Name of the output file either as pre-defined in the Integra profile or otherwise generated by Integra.
    agent (String)
      Name of the Integra agent to be called by the Integra background windows.
    fileuse (String)
      Either "Import" or "Export".
    filetype (String)
      Depending on the profile type either one of the following: "Report", "Mailmerge, "Single Document" or "Labels".
 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024