Yahfree #1 ;--------- type Scans Field code Field ID$ end type for i=0 to 222 ; the amount of SC's i think Codes.Scans = new Codes Codes\ID="ScanCode#"+i next Somthing like that i suppose..?