Datasetprovider1的options属性中的poAllowcommandText设为true,
clientDataset1.commandText:='select storeid,stroetype,sum(salemoney) from store group by storeid,stroetype';
当clientDataset1.Active:=true时,提示为“The dimension types for this dataset can't be determined automatically. You must map the fields to dimensions or summaries with the DecisionCube Editor.”客户端的维和度量值是动态选择添加,再写SQL语句的。
请大虾帮忙解决一下了?