$ 0 0 I think you need to null pad cust and item to the proper length by prepending Chr(0) however many times needed.