Keep data stored in text box when button is pushed

  • Thread starter Thread starter Steve Coward
  • Start date Start date
S

Steve Coward

My question is how do I keep data stored when it is
recieved after pushing another button. The way my program
is set up is I have 2 text boxes and 2 buttons. Text box
1 gets its data when button 1 is pressed and text box 2
gets its data when button 2 is pressed. The problem I am
having is when I push button 1, I recieve data in text box
1 but I would like to keep that data and when I push
button 2 in the form, I would like to recieve data in text
box 2. What is going on with my program is when I push
button 2, the other data in the text box 1 goes to 0 and
then text box 2 is updated. What should I do, a special
program to solve this problem or is there something in
properties that I can select or input.
Thanks,
Steve
 
Hi Steve,
please post the code for these buttons ... if code is
extensive, just post the lines that set values for the
textboxes.

Jonathan
 
Back
Top