Returns an integer indicating whether the saved query has the property of being a list, a report, or a chart.
VBScript
querydef.QueryType
Perl
$querydef->GetQueryType();