Mike McCormack : msi: Create a function to copy record fields, use it to order INSERT fields correctly.