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:
01134162
Vues:
23
>>Why EVALUATE()?
>>Why not direct test?
>>? between(Trans.cProduct_Line_Code,"100","200")
>
>How can I test directly if I have this information in the memo field of my table (Employee_Queue_Profiles)?
>
>In other words I have
>
>lcLogic = alltrim(Employee_Queue_Profiles.mFilter_Logic)
>
>if not empty(m.lcLogic)
>   =seek(m.tcTrans_fk, 'Trans', 'cTrans_pk')
>  llReturn = evaluate(m.lcLogic) && here it bombs
>endif
I'm thinking I would have to create a procedure and return code using ExecScript.

e.g.
private plReturn
text to lcProc noshow textmerge
    =seek(<<m.tcTrans_fk>>, 'Trans', 'cTrans_pk')
    plReturn = <<m.lcLogic>>
endtext
Would my plReturn visible and how can I return it?

BTW, for now we decided to fix all our profiles instead.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform