there is no error. the problem must be logic based (probablly because im using the wrong command to do what i want to do) The major problem im running into is the fact that after reading in the data, everything goes perfectly but as soon as it gets to the second record the data dissapears and all variables go blank.