Save in other form

I made a form that scans codes once and it works fine as long as the application doesn't close. since it won't let me save the changes if that happens; You could create a copy of these codes in another form without saving the first one, I have them in a join()

Can you please describe in some more detail what is happening? How many codes are you scanning and why is the application closing (is the user closing the app, or is it crashing)? Maybe can you attach the survey form you are using?