Top  Previous  Next

TemplateGroupAdd( aHandle, aUserGroupName, aUserName, 

                  aProjectName, aStudyName, 


                  aErrorMsg )


Description: TemplateGroupAdd() applies a template group to the specified study.  A template group is a list of report templates that will reflect the data in the specified study.

aHandle The value created in the call to Login().  

aUserGroupName, aUserName - required

aProjectName Can be used to specify the default project.  

aStudyName Can be used to specify the default study.  

aTemplateGroupName The name of the TemplateGroup

&aErrorMsg is populated only if an error occurred that prevented the function from succeeding.  Otherwise, this parameter is empty.


Example: TemplateGroupAdd( lHandle, "IA@DOT", "Pete",

                                               "My Project", "My Study", "Diagram plus listing", lErrorMsg );