<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="/DAV/JS/xslt/formview.xsl"?>
<design>
	<connection dsn="DSN=Local_Instance" endpoint="/XMLA"  nocred="0"></connection>
	<form name="Main Form" dstype="2" dsname="/DAV/home/demo/Public/employee_directory_by_country_qry.xml" >
		<columns>
			<column>Employees.Title</column>
			<column>Employees.FirstName</column>
			<column>Employees.LastName</column>
			<column>Employees.EmployeeID</column>
			<column>Employees.HireDate</column>
			<column>Employees.ReportsTo</column>
			<column>Employees.Notes</column>
			<column>Flags.SmallFlag</column>
			<column>Employees.Photo</column>
			<column>Countries.Lat</column>
			<column>Countries.Lng</column>
			<column>Countries.SmallFlagDAVResourceName</column>
			<column>Countries.LargeFlagDAVResourceName</column>
			<column>Countries.SmallFlagDAVResourceURI</column>
			<column>Countries.LargeFlagDAVResourceURI</column>
		</columns>
		<query>SELECT  TOP 50  "Employees"."Title", "Employees"."FirstName", "Employees"."LastName", "Employees"."EmployeeID", "Employees"."HireDate", "Employees"."ReportsTo", "Employees"."Notes", "Flags"."SmallFlag", "Employees"."Photo", "Countries"."Lat", "Countries"."Lng", "Countries"."SmallFlagDAVResourceName", "Countries"."LargeFlagDAVResourceName", "Countries"."SmallFlagDAVResourceURI", "Countries"."LargeFlagDAVResourceURI"  FROM  "Demo"."demo"."Flags"   INNER JOIN "Demo"."demo"."Countries" ON "Demo"."demo"."Countries"."Code" = "Demo"."demo"."Flags"."CountryCode"    INNER JOIN "Demo"."demo"."Employees" ON "Demo"."demo"."Employees"."CountryCode" = "Demo"."demo"."Countries"."Code"       </query>
		<selfCols></selfCols>
		<masterCols></masterCols>
		<masterForms></masterForms>
		<area bgcolor="rgb(187, 187, 187)" fgcolor="rgb(0, 0, 0)" size="12.8px" left="0" top="0" width="1305" height="600" />
		<object type="nav" value="false">
			<style left="14" top="157" >
				<css ></css>
			</style>
			<properties>
			</properties>
			<datasources>
			</datasources>
		</object>

		<object type="map" value="false">
			<style left="9" top="195"  width="819" height="400" >
				<css ></css>
			</style>
			<properties>
				<property>
					<name>Key</name>
					<value></value>
					<type>string</type>
				</property>
				<property>
					<name>Zoom level</name>
					<value>12</value>
					<type>select</type>
				</property>
				<property>
					<name>Provider</name>
					<value>Google</value>
					<type>select</type>
				</property>
				<property>
					<name>All markers at once?</name>
					<value>1</value>
					<type>bool</type>
				</property>
				<property>
					<name>Pin data source</name>
					<value>1</value>
					<type>form</type>
				</property>
				<property>
					<name>Map type</name>
					<value>Map</value>
					<type>select</type>
				</property>
			</properties>
			<datasources>
				<datasource name="Latitude" variable="0">
					<columnIndex>9</columnIndex>
				</datasource>
				<datasource name="Longitude" variable="0">
					<columnIndex>10</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.Title">
			<style left="436" top="12"  width="93" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.Title]">
			<style left="576" top="12"  width="171" height="22" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>0</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.FirstName">
			<style left="436" top="45"  width="129" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.FirstName]">
			<style left="576" top="44"  width="171" height="22" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.LastName">
			<style left="436" top="75"  width="128" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.LastName]">
			<style left="576" top="72"  width="171" height="22" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>2</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.EmployeeID">
			<style left="436" top="105"  width="140" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.EmployeeID]">
			<style left="576" top="105"  width="171" height="22" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>3</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.HireDate">
			<style left="436" top="135"  width="120" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.HireDate]">
			<style left="576" top="135"  width="171" height="22" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>4</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="image" value="false">
			<style left="23" top="12" >
				<css ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Source" variable="0">
					<columnIndex>7</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="image" value="false">
			<style left="886" top="12" >
				<css ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Source" variable="0">
					<columnIndex>8</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="label" value="Employees.Notes">
			<style left="850" top="259"  width="102" height="15" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="transparent"  fontSize="12.8px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>-1</columnIndex>
				</datasource>
			</datasources>
		</object>

		<object type="input" value="[Employees.Notes]">
			<style left="848" top="289"  width="293" height="246" >
				<css  color="rgb(0, 0, 0)"  backgroundColor="rgb(255, 255, 255)"  fontSize="13px" ></css>
			</style>
			<properties>
			</properties>
			<datasources>
				<datasource name="Value" variable="0">
					<columnIndex>6</columnIndex>
				</datasource>
			</datasources>
		</object>

	</form>
	<form name="SalesByEmp" dstype="2" dsname="/DAV/home/demo/Public/employee_sales_by_country_qry.xml" >
		<columns>
			<column>Employees.Title</column>
			<column>Employees.FirstName</column>
			<column>Employees.LastName</column>
			<column>Employees.EmployeeID</column>
			<column>Employees.HireDate</column>
			<column>Employees.ReportsTo</column>
			<column>Employees.Notes</column>
			<column>'Order_Value'</column>
			<column>Suppliers.CompanyName</column>
			<column>Products.ProductName</column>
			<column>Categories.CategoryName</column>
			<column>Customers.CompanyName</column>
			<column>Orders.OrderDate</column>
			<column>Customers.Country</column>
			<column>Customers.CountryCode</column>
		</columns>
		<query>SELECT  TOP 50  "Employees"."Title", "Employees"."FirstName", "Employees"."LastName", "Employees"."EmployeeID", "Employees"."HireDate", "Employees"."ReportsTo", "Employees"."Notes",  "Order_Details"."UnitPrice" * "Order_Details"."Quantity" AS 'Order_Value', "Suppliers"."CompanyName", "Products"."ProductName", "Categories"."CategoryName", "Customers"."CompanyName", "Orders"."OrderDate", "Customers"."Country", "Customers"."CountryCode"  FROM  "Demo"."demo"."Employees"   INNER JOIN "Demo"."demo"."Orders" ON "Demo"."demo"."Orders"."EmployeeID" = "Demo"."demo"."Employees"."EmployeeID"  INNER JOIN "Demo"."demo"."Order_Details" ON "Demo"."demo"."Order_Details"."OrderID" = "Demo"."demo"."Orders"."OrderID"    INNER JOIN "Demo"."demo"."Products" ON "Demo"."demo"."Products"."ProductID" = "Demo"."demo"."Order_Details"."ProductID"    INNER JOIN "Demo"."demo"."Suppliers" ON "Demo"."demo"."Suppliers"."SupplierID" = "Demo"."demo"."Products"."SupplierID"     INNER JOIN "Demo"."demo"."Categories" ON "Demo"."demo"."Categories"."CategoryID" = "Demo"."demo"."Products"."CategoryID"       INNER JOIN "Demo"."demo"."Customers" ON "Demo"."demo"."Customers"."CustomerID" = "Demo"."demo"."Orders"."CustomerID"       INNER JOIN "Demo"."demo"."Shippers" ON "Demo"."demo"."Shippers"."ShipperID" = "Demo"."demo"."Orders"."ShipVia"       </query>
		<selfCols>3</selfCols>
		<masterCols>3</masterCols>
		<masterForms>0</masterForms>
		<area bgcolor="rgb(187, 187, 187)" fgcolor="rgb(0, 0, 0)" size="12.8px" left="297" top="382" width="423" height="265" />
		<object type="pivot" value="false">
			<style left="35" top="28"  width="306" height="214" >
				<css ></css>
			</style>
			<properties>
				<property>
					<name>Data column name</name>
					<value>Order Total</value>
					<type>string</type>
				</property>
			</properties>
			<datasources>
				<datasource name="Data column" variable="0">
					<columnIndex>7</columnIndex>
				</datasource>
				<datasource name="Paging conditions" variable="1">
					<name>Supplier</name>
					<columnIndex>8</columnIndex>
				</datasource>
				<datasource name="Row conditions" variable="1">
					<name>Product</name>
					<columnIndex>9</columnIndex>
				</datasource>
				<datasource name="Column conditions" variable="1">
					<name>Category</name>
					<columnIndex>10</columnIndex>
				</datasource>
			</datasources>
		</object>

	</form>
</design>
