My guess is that you only have one record that matches a record in the target table. Are you sure the records in the source table have matching records in the target table?
Did you set a relationship from the target to the source?
select target
set relation to studentid into source
scan....
C. W. Finch Consulting