Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluating profile logic
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
Database:
Visual FoxPro
Divers
Thread ID:
01134150
Message ID:
01134185
Vues:
19
Here is what I put
if not empty(m.lcLogic)
		select Trans
		=seek(m.tcTrans_fk, 'Trans', 'cTrans_pk')
		try
			llReturn = evaluate(m.lcLogic)
		catch
			select cTrans_pk from Trans ;
			where cTrans_pk = m.tcTrans_fk ;
			and &lcLogic to screen noconsole
			llReturn = _tally = 1
		endtry	
	endif
Am I right?

Thanks again.

>The first expression is only valid in SQL. You'll have to parse it in order to apply directly to a table. The query route may not be as bad as you think
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform