Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to hack a form's definition
Message
From
17/06/2001 10:52:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/06/2001 17:47:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00520305
Message ID:
00520363
Views:
16
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform