Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't load form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00023361
Message ID:
00023376
Views:
26
>>>Occasionally when I attempt to load one of my forms, I get this error message: "Error loading file - Record number 3. Cursor1 < or one of its members>.:File access is denied.
>>>
>>>The form uses no tables, but one view. I am positive that the view has not been left open elsewhere, because I have gone so far as to reboot, and the same error persists. All files are on my local drive, and used by noone but myself. Anyone have this happen? How can I open this form?
>>
>>the form is stored as a table. either it's running somewhere else or it's corrupted.
>
>I know thatit is not running anywhere else. If it is corrupted, is ther eanything I can do about it? Any idea what could have caused corruption? Thanks.

Erik
I run into the same problem when :
1) the form has some file in the dataenvironment that is corrupted, or belongs to a corrupted database, or is just linked to another database ( i.e maybe you changed the name of the database this view belongs to )
2) When the form contains an object whose class definition file has been deleted or corrupted.
You should open your form manually, in the following way:
USE ?
Then select the "All Files" in the File Type combo box, then click on the FRX file of your form. Then you can BROWSE it. Generally, the important data, names of the tables or views etc.. are in Memo fields. You can even blank the field where your view table name is, then close the browse window, issu a USE command in order to close the table, and then open your form for editing. Then just add the view again.
Hope this helps
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform