I've got a login script that reads a text file. It looks at the index (user id) and a password field. Then it determines a permission level based on a preset parameter. The first record in the script is a 'Test' record and works fine. Any subsequent users (1381 of them) I try to login and the script reads the record just before the one I want. I've been over the script a hundred times and can't seem to figure why this is happening. thanks.