VS2005中的水晶报表中如何画出这样的报表,分组的话,第一列中的数据又不能垂直居中,都是在顶上的

小弟是个菜鸟,所以重金急求吖,跪求各位大大来帮忙吖
2024-12-17 18:17:35
推荐回答(1个)
回答1:

select g.GroupID,g.GrpName,cg.ClientID, v.ClientGroupValueID,v.Value as groupvalue
from [Group] g, ClientGroupValue v, (select ClientGroup.ClientID, ClientGroup.GroupID,ClientGroup.ClientGroupValueID
from ClientGroup where ClientGroup.GroupID in
(select ViewGroup.GroupID from ViewGroup where ViewGroup.ViewID=1)) cg
where g.GroupID=v.GroupID and cg.GroupID=v.GroupID and cg.ClientGroupValueID=v.ClientGroupValueID
order by cg.Client