SetProjectStudyReport

Top  Previous  Next

SetProjectStudyReport( aHandle, 

                           aProjectName, aStudyName, 

                           aReportName, aObjType, 

                           &aErrorMsg );

 

Description: Sets the current Project, Study and Report.  A report requires a study, which in turn requires a project.  A blank parameter clears that attribute.

 

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

aProjectName The desired current project.

aStudyName The desired current study.

aReportName The desired current report.

aObjType Type of report (see ReportAdd for details)

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

 

Example: SetProjectStudyReport( lHandle, "My first project", "My first study", "My second diagram", "diagram", lErrorMsg );

 

Example (sets a current study): SetProjectStudyReport( lHandle, "My first project", "My first study", "", "", lErrorMsg );

 

Example (sets a current project): SetProjectStudyReport( lHandle, "My first project", "", "", "", lErrorMsg );