Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods code in .scx form have been exchanged
Message
De
04/10/2022 15:00:27
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
03/10/2022 19:48:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01685019
Message ID:
01685030
Vues:
58
>>Then, when I checked the code, I saw, to my big surprise, that almost every form 's method had the code exchanged! The form itself has over 2 dozen methods. Besides that, the form has many controls and those also have code in methods. I haven't checked whether those method have been exchanged too. So this is a big problem and I can only get a backup from three days ago, but today I did many, many changes, so that backup won't help me.

Copy the form in current state before you do anything else...

Do you have Refox? If so, then you might try
USE myform.scx
REPLACE methods with "" all
USE
Then use Refox to restore from the objcode. If you're lucky, whatever has happened doesn't affect all the fields because otherwise you'll have to go through every method and event looking for SNAFU, unfortunately.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform