Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing memo code and calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01566590
Message ID:
01566599
Vues:
58
>Hi,
>
>I'm running an exe and there's a part of the program that uses EXECSCRIPT() to run some code in a memo field. The problem I have is that the code in the memo field is trying to run a form but I'm getting the error "File 'frmFilter' does not exist", I guess since the code is not in the exe it cannot see the form. Any workarounds to be able to run the form?
>
>Thanks!

Try instead of EXECSCRIPT to use:
lcName = SYS(2015)
STRTOFILE(MemoField, FORCEEXT(lcName, "PRG"))
COMPILE (FORCEEXT(lcName, "PRG"))
DO (FORCEEXT(lcName, "FXP"))
ERASE FORCEEXT(lcName, "*")
NOT TESTED!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform