loulijun2021
2022-07-04 991a63234bba49da5a22d0f64ae15837d3253829
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
{
    "Version":"6.8.5.0",
    "Title":"1n.追加空白行",
    "Author":"锐浪报表软件",
    "Description":"演示在明细网格的空白区域追加空白行:通过定义明细网格的‘追加空白行(AppendBlankRow)’属性实现。",
    "Font":{
        "Name":"宋体",
        "Size":90000,
        "Weight":400,
        "Charset":134
    },
    "Printer":{
    },
    "DetailGrid":{
        "CenterView":true,
        "AppendBlankRow":true,
        "Recordset":{
            "ConnectionString":"Provider=Microsoft.Jet.OLEDB.4.0;\r\nUser ID=Admin;\r\nData Source=C:\\Grid++Report 6\\Samples\\Data\\Northwind.mdb",
            "QuerySQL":"select m.OrderId, m.OrderDate, d.Productid,p.ProductName,d.Quantity,\r\nd.UnitPrice*d.Quantity*(1-d.Discount) as Amount\r\nfrom orders m inner join (OrderDetails d inner join Products p on d.ProductID=p.ProductID) \r\non m.orderid=d.orderid\r\nwhere (m.OrderDate between #1/1/97# And #6/30/97#) and d.Productid<10\r\norder by d.ProductID",
            "Field":[
                {
                    "Name":"Productid",
                    "Type":"Integer"
                },
                {
                    "Name":"ProductName"
                },
                {
                    "Name":"Quantity",
                    "Type":"Float",
                    "Format":"#,##0.##"
                },
                {
                    "Name":"Amount",
                    "Type":"Float",
                    "Format":"#,##0.00"
                },
                {
                    "Name":"OrderID",
                    "Type":"Integer",
                    "Format":"000000"
                },
                {
                    "Name":"OrderDate",
                    "Type":"DateTime",
                    "Format":"yyyy年MM月dd日"
                }
            ]
        },
        "Column":[
            {
                "Name":"Productid",
                "Width":1.5875
            },
            {
                "Name":"ProductName",
                "Width":3.38667
            },
            {
                "Name":"OrderID",
                "Width":1.5875
            },
            {
                "Name":"OrderDate",
                "Width":2.59292
            },
            {
                "Name":"Quantity",
                "Width":2.38125
            },
            {
                "Name":"Amount",
                "Width":2.77813
            }
        ],
        "ColumnContent":{
            "Height":0.608542,
            "AdjustRowHeight":false,
            "ColumnContentCell":[
                {
                    "Column":"Productid",
                    "DataField":"Productid"
                },
                {
                    "Column":"ProductName",
                    "DataField":"ProductName"
                },
                {
                    "Column":"OrderID",
                    "DataField":"OrderID"
                },
                {
                    "Column":"OrderDate",
                    "DataField":"OrderDate"
                },
                {
                    "Column":"Quantity",
                    "TextAlign":"MiddleRight",
                    "DataField":"Quantity"
                },
                {
                    "Column":"Amount",
                    "TextAlign":"MiddleRight",
                    "DataField":"Amount"
                }
            ]
        },
        "ColumnTitle":{
            "Height":0.582083,
            "Font":{
                "Name":"宋体",
                "Size":90000,
                "Bold":true,
                "Charset":134
            },
            "RepeatStyle":"OnPage",
            "ColumnTitleCell":[
                {
                    "GroupTitle":false,
                    "Column":"Productid",
                    "TextAlign":"MiddleCenter",
                    "Text":"产品编号"
                },
                {
                    "GroupTitle":false,
                    "Column":"ProductName",
                    "TextAlign":"MiddleCenter",
                    "Text":"产品名称"
                },
                {
                    "GroupTitle":false,
                    "Column":"OrderID",
                    "Text":"订单编号"
                },
                {
                    "GroupTitle":false,
                    "Column":"OrderDate",
                    "TextAlign":"MiddleCenter",
                    "Text":"订单日期"
                },
                {
                    "GroupTitle":false,
                    "Column":"Quantity",
                    "TextAlign":"MiddleCenter",
                    "Text":"数量"
                },
                {
                    "GroupTitle":false,
                    "Column":"Amount",
                    "TextAlign":"MiddleCenter",
                    "Text":"金额"
                }
            ]
        },
        "Group":[
            {
                "Name":"GroupByProduct",
                "ByFields":"Productid",
                "GroupHeader":{
                    "Height":0.79375,
                    "Font":{
                        "Name":"宋体",
                        "Size":90000,
                        "Bold":true,
                        "Charset":134
                    },
                    "NewPage":"Before",
                    "Control":[
                        {
                            "Type":"StaticBox",
                            "Name":"TextBox6",
                            "Left":0.185208,
                            "Top":0.185208,
                            "Width":1.79917,
                            "Height":0.396875,
                            "Text":"产品编号:"
                        },
                        {
                            "Type":"FieldBox",
                            "Name":"Field1",
                            "Left":1.98438,
                            "Top":0.185208,
                            "Width":2.59292,
                            "Height":0.396875,
                            "DataField":"Productid"
                        },
                        {
                            "Type":"StaticBox",
                            "Name":"TextBox7",
                            "Left":4.97417,
                            "Top":0.185208,
                            "Width":1.82563,
                            "Height":0.396875,
                            "Text":"产品名称:"
                        },
                        {
                            "Type":"FieldBox",
                            "Name":"Field2",
                            "Left":6.985,
                            "Top":0.185208,
                            "Width":3.81,
                            "Height":0.396875,
                            "DataField":"ProductName"
                        }
                    ]
                },
                "GroupFooter":{
                    "BackColor":"C1C1C1",
                    "Height":0.978958,
                    "Font":{
                        "Name":"宋体",
                        "Size":90000,
                        "Bold":true,
                        "Charset":134
                    },
                    "Control":[
                        {
                            "Type":"SummaryBox",
                            "Name":"Summary1",
                            "BackColor":"FFFFFF",
                            "AlignColumn":"Quantity",
                            "Left":9.15458,
                            "Top":0.185208,
                            "Width":2.35479,
                            "Height":0.582083,
                            "TextAlign":"MiddleRight",
                            "DataField":"Quantity",
                            "Format":"#,##0.##"
                        },
                        {
                            "Type":"SummaryBox",
                            "Name":"Summary2",
                            "BackColor":"FFFFFF",
                            "AlignColumn":"Amount",
                            "Left":11.5358,
                            "Top":0.185208,
                            "Width":2.75167,
                            "Height":0.582083,
                            "TextAlign":"MiddleRight",
                            "DataField":"Amount",
                            "Format":"$#,##0.00"
                        },
                        {
                            "Type":"StaticBox",
                            "Name":"TextBox5",
                            "BackColor":"FFFFFF",
                            "Top":0.185208,
                            "Width":1.98438,
                            "Height":0.582083,
                            "Text":"小计"
                        }
                    ]
                }
            }
        ]
    },
    "PageHeader":{
        "Height":0.582083,
        "Control":[
            {
                "Type":"SystemVarBox",
                "Name":"SysData2",
                "Left":9.78958,
                "Width":5.79438,
                "Height":0.582083,
                "SystemVar":"CurrentDateTime"
            }
        ]
    },
    "PageFooter":{
        "Height":0.582083,
        "Control":[
            {
                "Type":"MemoBox",
                "Name":"MemoBox1",
                "AlignColumn":"Amount",
                "Left":11.5623,
                "Width":2.75167,
                "Height":0.396875,
                "TextAlign":"MiddleRight",
                "Text":"共[#SystemVar(PageCount)#]页 第[#SystemVar(PageNumber)#]页"
            }
        ]
    },
    "ReportHeader":[
        {
            "Name":"ReportHeader1",
            "Height":1.19063,
            "Control":[
                {
                    "Type":"StaticBox",
                    "Name":"StaticBox1",
                    "Center":"Horizontal",
                    "Left":6.29708,
                    "Top":0.396875,
                    "Width":3.41313,
                    "Height":0.582083,
                    "Font":{
                        "Name":"宋体",
                        "Size":150000,
                        "Bold":true,
                        "Charset":134
                    },
                    "Text":"销售明细报表"
                }
            ]
        }
    ]
}