loulijun2021
2022-07-02 d24862719714be5f76fb3dc81a3a3da8de4cc5a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
    "Version":"6.7.5.6",
    "Title":"3q.日历报表",
    "Author":"锐浪报表软件",
    "Description":"设计要点:\r\n1、首先设置明细网格的“交叉表”属性为“是”,并选中交叉表。\r\n2、设置交叉表的“横向交叉期间::横向交叉期间类型”属性为“日历”。\r\n3、设置“开始日期参数”与“结束日期参数”属性,通过对应参数值指定日历期间范围。",
    "Font":{
        "Name":"宋体",
        "Size":90000,
        "Weight":400,
        "Charset":134
    },
    "Printer":{
        "TopMargin":1,
        "BottomMargin":1
    },
    "DetailGrid":{
        "CenterView":true,
        "IsCrossTab":true,
        "PrintAdaptMethod":"ResizeToFit",
        "ColLine":{
            "Color":"646F71"
        },
        "RowLine":{
            "Color":"646F71"
        },
        "Recordset":{
            "ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=..\\Data\\Northwind.mdb",
            "QuerySQL":"select c.Region,m.OrderDate,sum(d.Quantity) as Qty,sum(d.UnitPrice*d.Quantity) as Amount\r\nfrom (Orders m inner join OrderDetails d on m.OrderId=d.OrderId) \r\ninner join Customers c on m.CustomerID=c.CustomerID\r\nwhere m.OrderDate between #1/1/1997# and #03/31/1997#\r\ngroup by c.Region,m.OrderDate\r\norder by c.Region,m.OrderDate",
            "Field":[
                {
                    "Name":"Region"
                },
                {
                    "Name":"OrderDate",
                    "Type":"DateTime"
                },
                {
                    "Name":"Qty",
                    "Type":"Float",
                    "Format":"#,##0.##;;#"
                },
                {
                    "Name":"Amount",
                    "Type":"Currency",
                    "Format":"#,##0.00;;#"
                }
            ]
        },
        "Column":[
            {
                "Name":"UnitPriceaaa",
                "Width":2.56646
            },
            {
                "Name":"Column1",
                "Width":5.60917
            }
        ],
        "ColumnContent":{
            "Height":1.25,
            "ColumnContentCell":[
                {
                    "Column":"UnitPriceaaa",
                    "FreeCell":true,
                    "Control":[
                        {
                            "Type":"FieldBox",
                            "Name":"FieldBox1",
                            "Top":0.396875,
                            "Width":2.54,
                            "Height":0.396875,
                            "TextAlign":"MiddleCenter",
                            "DataField":"Qty"
                        },
                        {
                            "Type":"FieldBox",
                            "Name":"FieldBox2",
                            "Top":0.79375,
                            "Width":2.54,
                            "Height":0.396875,
                            "TextAlign":"MiddleCenter",
                            "DataField":"Amount"
                        },
                        {
                            "Type":"MemoBox",
                            "Name":"MemoBox3",
                            "ForeColor":"800000",
                            "Dock":"Top",
                            "Height":0.396875,
                            "Font":{
                                "Name":"宋体",
                                "Size":105000,
                                "Bold":true,
                                "Charset":134
                            },
                            "TextAlign":"MiddleCenter",
                            "Text":"[#OrderDate:MM/dd#]"
                        }
                    ]
                },
                {
                    "Column":"Column1",
                    "BackColor":"E1FFFF"
                }
            ]
        },
        "ColumnTitle":{
            "Height":0.608542,
            "RepeatStyle":"OnGroupHeader",
            "ColumnTitleCell":[
                {
                    "GroupTitle":false,
                    "Column":"UnitPriceaaa",
                    "BackColor":"FEE7FE",
                    "FreeCell":true,
                    "Control":[
                        {
                            "Type":"MemoBox",
                            "Name":"MemoBox2",
                            "BackColor":"FFFFFF",
                            "Dock":"Fill",
                            "TextAlign":"MiddleCenter",
                            "Text":"[#OrderDate:dddd#]"
                        }
                    ]
                },
                {
                    "GroupTitle":false,
                    "Column":"Column1",
                    "Text":"Column1"
                }
            ]
        },
        "Group":[
            {
                "Name":"CustomerGroup",
                "ByFields":"Region",
                "GroupHeader":{
                    "Height":0.79375,
                    "Font":{
                        "Name":"宋体",
                        "Size":142500,
                        "Bold":true,
                        "Charset":134
                    },
                    "NewPage":"Before",
                    "PrintGridBorder":false,
                    "Control":[
                        {
                            "Type":"FieldBox",
                            "Name":"FieldBox3",
                            "Width":4.20688,
                            "Height":0.79375,
                            "DataField":"Region"
                        }
                    ]
                },
                "GroupFooter":{
                    "Height":0
                }
            }
        ],
        "CrossTab":{
            "PercentFormat":"0.##%",
            "HCrossPeriodType":"Calendar",
            "BeginDateParameter":"CrossEndDate",
            "EndDateParameter":"CrossBeginDate"
        }
    },
    "Parameter":[
        {
            "Name":"CrossBeginDate",
            "DataType":"DateTime",
            "Value":"1997/1/1"
        },
        {
            "Name":"CrossEndDate",
            "DataType":"DateTime",
            "Value":"1997/3/31"
        }
    ],
    "ReportHeader":[
        {
            "Height":1.00542,
            "Control":[
                {
                    "Type":"StaticBox",
                    "Name":"TitleBox",
                    "Center":"Horizontal",
                    "Left":5.18583,
                    "Top":0.211667,
                    "Width":5.63563,
                    "Height":0.582083,
                    "Font":{
                        "Name":"宋体",
                        "Size":150000,
                        "Bold":true,
                        "Charset":134
                    },
                    "TextAlign":"MiddleCenter",
                    "Text":"数量与金额日历报表"
                }
            ],
            "RepeatOnPage":true
        }
    ]
}