Example: How to plan an array of structure field

When planning array of structure fields, you need to do it field by field with the structure and combine these fields together to perform validation and apply the values.

Take the addlIPAddr field in the computer table as an example. As a typical example of array of structure fields, this field consists of addlIPAddress and addlSubnet sub fields. The following table lists the original values.

addlIPAddress addlSubnet
192.168.0.1 255.0.0.0
192.168.0.2 255.0.0.1
192.168.0.3 255.0.0.2

Change the values as listed in the following table.

addlIPAddress addlSubnet
192.168.0.4 255.0.0.3
192.168.0.5 255.0.0.4
192.168.0.6 255.0.0.5

You need to plan for addlIAddress and addlSubnet separately, and then change the values as listed in the following table.

Field Name Old Value New Value
addlIAddress {“192.168.0.1”, “192.168.0.2”, “192.168.0.3” } {“192.168.0.4”, “192.168.0.5”, “192.168.0.6” }
addlSubnet {“255.0.0.0”, “255.0.0.1”,” 255.0.0.2”} {“255.0.0.3”, “255.0.0.4”,” 255.0.0.5”}

Tip To be more straightforward and much easier, you can click the Format Based Changes button to plan array of structure fields.