Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save Changes when No Changes Made ??
Message
From
19/06/1999 01:59:04
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231655
Message ID:
00231710
Views:
22
>Al,
>Have you backed it up (just in case....)? Then open the form as a table with USE Myform.SCX excl and PACK it. The problem may be caused by extraneous records.

Yes, I have various backups... nothing is lost yet, as long as I can cut & paste. I PACKed the form as a table - made no difference. There were no deleted records before the PACK, and file sizes (.SCX and .SCT) were identical afterwards.

>Also, try compiling it explicitly with COMPILE MyForm.

Took me a while to figure out what to try here. COMPILE MyForm.scx didn't work, but COMPILE CLASSLIB MyForm.scx did (I think - a progress bar showed up) (although the docs seem to imply this should only work for .VCXs [!!]) However, no effect on form designer behaviour.

>Finally, of course, take the big plunge and start a new form, copying the controls on each page of your pageframe over to the new form and then the form methods.
>

This is what I've been working on the past few hours. I've got most of the controls copied across to a new form (all except 3, in fact). If I add another control, of any type (either a fresh VFP base class control or one copied from my old form) to Page 1 of the pageframe, the form starts to show the Save Changes? behaviour when no changes have been made. On a 2-page pageframe, I have 125 objects on Page 1 (mostly small bitmaps) and 65 objects on Page 2.

I'm beginning to think this might be some very strange interaction of VFP5 and NT 3.51. I've been seeing things like:

- at one point, the form would crash VFP with a C5 EVERY TIME if a MODI FORM MyForm was the first thing I did on entering VFP. If the first thing I did was CREATE FORM, then cancel the new form creation, I could MODI FORM MyForm just fine. Alternately, if I COMPILEd CLASSLIB MyForm.SCX before trying to open it, it would again open fine. Or USE MyForm.SCX, then close it. Basically, anything to access the .SCX before trying to run the Form Designer against it.

- I e-mailed this 100% crashing form to a colleague who has the same version of VFP running on W95. He could open the form without trouble.

Thanks for the suggestions. If you have any others - no matter how far out in left field - I'm all ears. :-)
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform