1. Use SELECT query to create a calculated Field
Create a selection query, add the "Fleet transportation" table, and drag all its fields to the design grid. As shown in figure 1, if you fill in "net weight: Gross Weight-gross weight" in the blank column, the system will automatically add "[]" to "gross weight" and "gross weight" to indicate that they are fields. Save this query as "Fleet transportation query ".
The following table shows the newly created fleet transportation query. The net weight is calculated automatically:
Fleet transportation Query
Driver
Goods type
Gross Weight
Skin weight
Net weight
Li Dafang
Others
75.00
25.00
50.00
Li Dafang
Others
135.00
45.00
90.00
Zhao Mei
Others
75.00
25.00
50.00
Zhang cute
Others
150.00
50.00
100.00
Zhao Mei
Excellent Powder
19.70
5.40
14.30
Zhang cute
Excellent Powder
20.70
5.40
15.30
Zhang cute
Excellent Powder
20.60
5.40
15.20
Zhang cute
Ore
19.60
5.40
14.20
Zhang cute
Excellent Powder
20.60
5.40
15.20
Zhang cute
Excellent Powder
21.10
5.40
15.70
Zhang cute
Ore
21.20
5.40
15.80
Li Dafang
Excellent Powder
17.40
5.40
12.00
Zhao Mei
Waste Rock
120.00
40.00
80.00
Zhao Mei
Others
15.00
5.00
10.00
Li Dafang
Waste Rock
105.00
35.00
70.00
Zhang cute
Waste Rock
105.00
35.00
70.00
Zhao Mei
Waste Rock
105.00
35.00
70.00