用DecisionQuery+Datasetprovider构成com+,用socketconnection+clientDataset+DecisionCube+DataSource构成client
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语句的。
请大虾帮忙解决一下了?
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语句的。
请大虾帮忙解决一下了?
解决方案 »
- 有点难!如果识别菜单项呢
- 散分,非常简单的问题
- 高手们指点一下!关于cxgrid的oneditvaluechanged的问题?为什么刚更改的字段又变回到以前的内容?
- 怎样把字符串转化为 Utf8 编码,高手指点
- 表的添加删除
- 在程序运行中,如果实现ADOCONNECTION异常断开自动重新联接
- 怎样将系统设置为录音状态?用程序实现
- win2000server有没有设定办法只让本局域网指定的一批IP地址访问服务器?
- 棘手的问题:如何发布带包编译的程序?
- 怎样把网页文件中的网络连接搜索出来,(DELPHI),小弟拜托各位高手相助。
- 谁能帮助我? mts/com+多层开发遇到问题......
- 怎样用DBedit得到系统当前的日期和时间?
还有,客户端是用的DecisionSource不是DataSource,写错了,对不起!!!