Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save and exit a modify form by code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01430265
Message ID:
01430338
Vues:
32
>>I am working on a builder that needs to run though all 225 forms in a folder. I can load the form, run the builder and save the form. What I can't seem to do is exit the form. I have tried a number of methods but non seem to work. Here is the code I am currently using.
>>
>>
 oForm.Show()
>> oShell = CREATEOBJECT("Wscript.Shell")
>> oShell.SendKeys("%{F}{C}{Y}")
>>
>>I have also tried using keyboard chr(24).
>>
>>Anyone got any suggestions?
>
>Check Re: Searching through all application directory... Thread #430305 Message #431569

Naomi,
I can't thank you enough. I did have a problem getting it to work though. I thought the
release window 'form'
meant to put the form name in 'form' so I used mFormName. I did finally realize that I was supposed to use the line exactly as is. Now I can proceed with processing 225 forms.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform