I figured out that it is coming from the fact that my form closes too quickly. If I set up the ''Close this form'' rule to trigger when an event occurs, it will write it out. There is, however, one problem. I set up a variable called DatabaseWrite that will tell me if the database has been written. I use one of my functions called ...