Switch to: V11V10V9V8V7V6V5

vreport_close()

Declaration

vreport_close( 
            [resource inReportID] )

Parameters

Name Description Default Value
inReportID The VReport instance.

Description

Close VReport instance.

Return Values

No return value.

Examples

Example 1.

<?php
	$vproject_id = vproject_create( $conn_id, $report_file );
 
	// Get info from container
	$res = vproject_report_count( $vproject_id );
	print( "Report Count in project: " . $res . $record_delimiter );
 
	// Get first Report
	$report_id = vproject_make_new_report( $vproject_id, 1, $conn_id, "SELECT * FROM T1" );
 
	vreport_close( $report_id );
	vproject_close( $vproject_id );
?>

See Also