Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to hack a form's definition
Message
De
17/06/2001 10:52:25
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
16/06/2001 17:47:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00520305
Message ID:
00520363
Vues:
17
>>I need to open the table that stores a form's definintion to change some values. The form won't open for modi because one of the objects has been defined with an 'illegal value'; or so says the error message.
>>
>>I have more than a few hours into building this form, and I thought if I could find my way into the table that holds the object definitions, I might be able to recover by hacking the offending value. But how do I get the table open?
>>
>>Yes, I always, always, always make backups of forms that I am working on, ... except for this one time !! Hggh.
>
>Have you tried USE MyForm.SCX? As you've already noted, the form definition is just a table...
>
>If you can do that, you can usually go straight to the record reported in your error and see if anything is obviously out of whack.

Or, if not immediately obvious, it takes a better look. We've had to actually hack a form which didn't want to open (in either development or runtime) and eventually found one of the properties which usually goes with a value of 1, 2 or so, having a value of 508. We just deleted tha line, recompiled the form, and it was OK. The hard part was finding out which property had an impossible value.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform