Adding Items to the Request Line

Example—Add items to the request line

// add items to the request line
ActiveDocument.Sections["Query"].Requests.Add("PCW_CUSTOMERS", "Store")
ActiveDocument.Sections["Query"].Requests.Add("PCW_SALES", "Store_Id")
ActiveDocument.Sections["Query"].Requests.Add("PCW_SALES", "Order_Date")
ActiveDocument.Sections["Query"].Requests.Add("PCW_SALES", "Delivery_Date")
ActiveDocument.Sections["Query"].Requests.Add("PCW_SALES", "Units")
ActiveDocument.Sections["Query"].Requests.Add("PCW_SALES", "Amount")
ActiveDocument.Sections["Query"].Requests.Add("PCW_CUSTOMERS", "City")
ActiveDocument.Sections["Query"].Requests.Add("PCW_CUSTOMERS", "State")
ActiveDocument.Sections["Query"].Requests.Add("PCW_PERIODS", "Year")