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!

Unable to open form

Status
Not open for further replies.

MMund

Programmer
Oct 9, 2007
57
CA
Have a form in a VFP9 app that I inherited from a previous programmer. Cannot open the form in the project. Further examination reveals the SCX file is blank, but the SCT is not. Anyone have any suggestions?

TIA,

MMund
 
Further examination reveals the SCX file is blank

How are you examining the SCX file?
Are you opening it as a DBF to examine the records?

Code:
USE MyFormSCX 
SELECT MyFormSCX 
BROWSE

Have you tried to open the Form, not in the Project, but instead directly in the VFP Development Mode via the Command Window?

Code:
* --- In Command Window ---
MODI FORM <fully pathed Form SCX file>

Good Luck,
JRB-Bldr


 
When you say the file is "blank", do you mean:

- You can open it in the form designer, but can't see any controls on the form?

- Or, you have opened it as a DBF (with USE), but can't see any records?

Either way, it's likely that the form is corrupted in some way, but we'll need you to give us more information in order to help you.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
When you say "can't open form", what's the error message?

Is it a message about the DataEnvironment? Missing ActiveX control?

Reasons for not being able to open a form are many and solutions are just as varied.
 
Thanks to all. Turns out the files are corrupted, so I've decided to have the backup team restore them.

MMund
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top