Hi,
Not sure if I get what you are looking for, but...
If the two pallet fields are named: pallet1 and pallet2. Then the following script in the calculate event of totalPallet should work (note script is FormCalc):
$ = Sum(pallet1, pallet2)
Hope that helps,
Niall