...
- Open Microsoft Excel.
# Click Add DataSet on the OfficeWriter toolbar.
# Follow steps to Creating a Data Source and Building a Query in Creating a New Template.
# In the Add Tables dialog box, find the SalesOrderHeader table in the list and select Add. Click Close.
# In Microsoft Query, drag the following fields to the query: SalesOrderID, SalesPersonID, and TotalDue.
!xlw_parameter1.jpg!
# Click the Hide/Show Criteria button on the Microsoft Query toolbar to open the criteria table.
!xlw_parameter2.jpg!
# Click within the top left cell in the criteria table and select * SalesPersonID* from the drop-down list.
# In Value cell beneath SalesPersonID, type [Enter the Sales Person ID]. This is the text that will be used to prompt the user.
!xlw_parameter3.jpg!
# Microsoft Query will prompt you to enter the default value for the parameter. Enter a sales person ID value.
!xlw_parameter4.jpg!
# From the File menu, select *Return to OfficeWriter Designer*.
# Using OfficeWriter Designer's Data Marker button, add the fields to your report.
# Deploy the report.
# Click View on the OfficeWriter toolbar. You will be asked to enter a parameter value.
!xlw_parameter5.jpg!
# Replace the 0 with 280. Every row displayed in the report will have SalesPersonID number 280.
!xlw_parameter6.jpg!