Current location - Education and Training Encyclopedia - Education and training - In windsurfing, two different data sets have two identical fields. How to combine the data corresponding to the same field?
In windsurfing, two different data sets have two identical fields. How to combine the data corresponding to the same field?
1. Database connection operation: Two data sets come from the same database and can be connected through the database. In the Sailsoft report design interface, select a dataset and right-click "Dataset Properties". In the Dataset Properties window, select the Dataset Connection tab and configure the connection information to associate two datasets. , you can use the relevant fields in the report for data correspondence and calculation.

2. Script method: two data sets come from different data sources, or cannot be related through database connection, and can be processed through script. In the Sailsoft report design interface, select a dataset and right-click "Dataset Properties". In the data set properties window, select the "Script" tab, write script logic, and realize data correspondence and calculation.