I have a routine that saves data in textboxes on my form. That works great. But , I need to clear the textboxes after they have been saved. This is what I am doing in my private sub:
SaveData()
ResetForm()
The first one saves the values in the textboxes, and the second converts all the textboxes text to "". Well, for some odd reason, it saves all of the data as "".....and I am saving the textbox text before I clear them. It appears that this would be impossible because it has to do the savedata() before it moves to the resetform(). Can someone tell me what may cause this behaviour, or if there is another way to make it wait to clear the boxes after the data is saved?
SaveData()
ResetForm()
The first one saves the values in the textboxes, and the second converts all the textboxes text to "". Well, for some odd reason, it saves all of the data as "".....and I am saving the textbox text before I clear them. It appears that this would be impossible because it has to do the savedata() before it moves to the resetform(). Can someone tell me what may cause this behaviour, or if there is another way to make it wait to clear the boxes after the data is saved?