Description
Call PSCSetDataSetSQL to change DataSet's SQL property and to assign new query to it. If DataSet doesn't have SQL property nothing will happen. Pass your dataset in the DataSet parameter and new query in the SQL parameter. If Activate parameter is True, DataSet's Active property will be set to True after it's SQL property was changed. If Activate is False, DataSet's Active property will be set to the value it was before DataSet's SQL property was changed.