Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

losing the data on my form ????

Status
Not open for further replies.

pbuddy2007

Technical User
Feb 9, 2008
17
0
0
CA
On my form I have a button that pop-up another form asking the user to enter further information. the problem is that once the user click pn saves and return to the main form everything on that form has been erased ?? why ???

on the INFO form the button calling the pop-up has the folowing code:
MAP.Show

on the MAP pop up form when the user enters the data and clicks on save the following code is executed
map.Hide
INFO.Label15.Caption = Text1.Text

All the data in the textboxs on INFO form is lost ???
 
Please post the code for the entire subroutine that opens the pop-up form, and the subroutine that closes (or hides) it.

 
I found it ! It was a case of Code 12 ( the problem is located 12 inches from the screen !)

I had a piece of code n the Form_Activate that cleared all the textbox on my INFO form.

Sorry can't talk more, I have to go kick my own a..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top