Object Report
	Version='5.0.0.0'
	Title='Grid++Report'
	Object Font
		Name='宋体'
		Size=90000,0
		Weight=400
		Charset=134
	End
	Object Printer
		Oriention=Landscape
	End
	Object DetailGrid
		FixCols=2
		PrintAdaptMethod=ResizeToFit
		Object Recordset
			ConnectionString='Provider=SQLOLEDB.1;\r\nPersist Security Info=True;\r\nData Source=;\r\nInitial Catalog=gridreport;\r\nUser ID=sa;\r\nPassword=;'
			QuerySQL='select * from Customers\r\norder by Region,City'
			Items Field
				Item
					Name='CustomerID'
				End
				Item
					Name='CompanyName'
				End
				Item
					Name='ContactName'
				End
				Item
					Name='ContactTitle'
				End
				Item
					Name='Address'
				End
				Item
					Name='City'
				End
				Item
					Name='Region'
				End
				Item
					Name='PostalCode'
				End
				Item
					Name='Country'
				End
				Item
					Name='Phone'
				End
				Item
					Name='Fax'
				End
			End
		End
		Items Column
			Item
				Name='CustomerID'
				Width=2.38125
			End
			Item
				Name='CompanyName'
				Width=3.175
			End
			Item
				Name='ContactName'
				Width=1.5875
			End
			Item
				Name='ContactTitle'
				Width=1.98438
			End
			Item
				Name='Address'
				Width=3.175
			End
			Item
				Name='PostalCode'
				Width=1.5875
			End
			Item
				Name='Phone'
				Width=2.98979
			End
			Item
				Name='Fax'
				Width=3.175
			End
		End
		Object ColumnContent
			Height=0.79375
			Items ColumnContentCell
				Item
					Column='CustomerID'
					DataField='CustomerID'
				End
				Item
					Column='CompanyName'
					DataField='CompanyName'
				End
				Item
					Column='ContactName'
					DataField='ContactName'
				End
				Item
					Column='ContactTitle'
					DataField='ContactTitle'
				End
				Item
					Column='Address'
					DataField='Address'
				End
				Item
					Column='PostalCode'
					DataField='PostalCode'
				End
				Item
					Column='Phone'
					DataField='Phone'
				End
				Item
					Column='Fax'
					DataField='Fax'
				End
			End
		End
		Object ColumnTitle
			BackColor=Silver
			Height=1.2
			Object Font
				Name='宋体'
				Size=90000,0
				Bold=T
				Charset=134
			End
			RepeatStyle=OnPage
			Items ColumnTitleCell
				Item
					GroupTitle=F
					Column='CustomerID'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='客户编号'
				End
				Item
					GroupTitle=F
					Column='CompanyName'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='公司名称'
				End
				Item
					GroupTitle=F
					Column='ContactName'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='联系人'
				End
				Item
					GroupTitle=F
					Column='ContactTitle'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='联系人称谓'
				End
				Item
					GroupTitle=F
					Column='Address'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='地址'
				End
				Item
					GroupTitle=F
					Column='PostalCode'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='邮编'
				End
				Item
					GroupTitle=F
					Column='Phone'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='电话'
				End
				Item
					GroupTitle=F
					Column='Fax'
					BackColor=3DLight
					TextAlign=MiddleCenter
					Text='传真'
				End
			End
		End
		Items Group
			Item
				Name='CountryGroup'
				ByFields='Country'
				Object GroupHeader
					Height=1
					BookmarkText='国家：[#Country#]'
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox3'
							Left=0.185208
							Width=1.00542
							Height=1.00542
							Text='国家：'
						End
						Item
							Type=FieldBox
							Name='Field1'
							Left=1.19063
							Width=2.59292
							Height=1.00542
							DataField='Country'
						End
					End
				End
				Object GroupFooter
					BackColor=Olive
					Height=1
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox8'
							BackColor=White
							Left=0.185208
							Width=2.40771
							Height=1.00542
							Text='国家人数统计：'
						End
						Item
							Type=SummaryBox
							Name='Summary3'
							BackColor=White
							Left=2.59292
							Width=1.98438
							Height=1.00542
							SummaryFun=Count
						End
					End
				End
			End
			Item
				Name='RegionGroup'
				ByFields='Region'
				Object GroupHeader
					Height=1
					BookmarkText='地区[#Region#]'
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox4'
							Left=1.19063
							Width=1.00542
							Height=1.00542
							Text='地区：'
						End
						Item
							Type=FieldBox
							Name='Field2'
							Left=2.19604
							Width=2.59292
							Height=1.00542
							DataField='Region'
						End
					End
				End
				Object GroupFooter
					BackColor=Aqua
					Height=1
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox7'
							BackColor=White
							Left=0.978958
							Width=2.40771
							Height=1.00542
							Text='地区人数统计：'
						End
						Item
							Type=SummaryBox
							Name='Summary2'
							BackColor=White
							Left=3.38667
							Width=2.01083
							Height=1.00542
							SummaryFun=Count
						End
					End
				End
			End
			Item
				Name='CityGroup'
				ByFields='City'
				Object GroupHeader
					Height=1
					BookmarkText='城市：[#City#]'
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox5'
							Left=2.19604
							Width=0.978958
							Height=1.00542
							Text='城市：'
						End
						Item
							Type=FieldBox
							Name='Field3'
							Left=3.175
							Width=2.61938
							Height=1.00542
							DataField='City'
						End
					End
					RepeatOnPage=T
				End
				Object GroupFooter
					BackColor=0x00f1d3fa
					Height=1
					Object Font
						Name='宋体'
						Size=90000,0
						Bold=T
						Charset=134
					End
					Items Control
						Item
							Type=StaticBox
							Name='StaticBox6'
							BackColor=White
							Left=2.19604
							Width=2.38125
							Height=0.582083
							Text='城市人数统计：'
						End
						Item
							Type=SummaryBox
							Name='Summary1'
							BackColor=White
							Left=4.78896
							Width=1.79917
							Height=0.582083
							SummaryFun=Count
						End
					End
				End
			End
		End
	End
	Items Parameter
		Item
			Name='Comment'
			Value='演示多级分组报表：在 Grid++Report 中，可以同时定义多个分组，多个分组之间存在层级关系，外层分组项总是包含内层分组，当一个外层分组项结束时，其包含的内层分组项也将结束。'
		End
	End
	Items Section
		Item
			Type=PageHeader
			Height=1.00542
			Items Control
				Item
					Type=StaticBox
					Name='StaticBox2'
					Object Font
						Name='隶书'
						Size=142500,0
						Bold=T
						Charset=134
					End
					Left=9.18104
					Top=0.185208
					Width=6.74688
					Height=0.555625
					TextAlign=MiddleRight
					Text='北风公司销售管理系统报表'
				End
				Item
					Type=Line
					Name='Line1'
					Top=0.79375
					Width=24.6063
					PenWidth=2
				End
			End
		End
		Item
			Type=PageFooter
			Height=0.582083
			Items Control
				Item
					Type=MemoBox
					Name='MemoBox1'
					Left=8.36083
					Width=4.39208
					Height=0.396875
					TextAlign=MiddleRight
					Text='共[#SystemVar(PageCount)#]页 第[#SystemVar(PageNumber)#]页'
				End
			End
		End
		Item
			Type=ReportHeader
			Height=1.37583
			Items Control
				Item
					Type=StaticBox
					Name='StaticBox1'
					Object Font
						Name='宋体'
						Size=150000,0
						Bold=T
						Charset=134
					End
					Center=Horizontal
					Left=9.89542
					Top=0.211667
					Width=4.92125
					Height=0.820208
					TextAlign=MiddleCenter
					Text='客 户 资 料'
				End
			End
			RepeatOnPage=T
		End
	End
End
