Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling code from a memo field
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Calling code from a memo field
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01029391
Message ID:
01029391
Vues:
71
I have a piece of code held within a table called rules in a memo field called rule. I want to execute that code in the field within a program.

The code stored in my memo field is:
SELECT packages
SCAN WHILE NOT EOF()
	IF 'TECHNICAL'$mainkey AND emailed=.f.
		replace action WITH 'Send Email to Design'
	ENDIF
ENDSCAN
My program basically calls:
SELECT rules
lcrules=""
lcrules=rules.rules
&lcrules
But nothing happens. My code works fine its just the calling of my rule does not work. Can anybody help me please?

Many Thanks
Neil Lewis
IT R&D Manager
Velmore Ltd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform