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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables disappear from form data environment 1

Status
Not open for further replies.

oldbuck

IS-IT--Management
Feb 17, 2003
4
US
VFP 6.0
I am creating a form that uses 3 tables. When I run the form (while developing) to test something, the tables disappear from the data environment and I have to add them again. I have the data environment set to auto open and close and I do not do anything in code to open or close them. This is the first time this has happened to me on a form and I am baffled. Any suggestions??

Thank you.
 
Maybe you could try:

FREE TABLE mytable

and then

ADD TABLE mytable

to your project command window.
 
oldbuck

Sounds like a corrupted form. Copy all your controls from that form onto a new form (hopefully you didn't add too many new methods) and add your tables to the dataenvironment and see if that corrects the situation. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thank you, Mike. That's the first 'corrupt' form I've had...didn't know they could become 'corrupt'..at least not without telling you or something.
 
oldbuck

If it reoccurs (I have seen this on one of my system), it sometimes related to deffective hard drive. Did your problem get resolved? Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Yes, creating a new form and copying the controls did the job. Hope the hard drive isn't bad...pretty new..but I'll certainly run a scan disk on it.

Thanks again Mike..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top