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:
01134152
Vues:
21
>Hi everybody,
>
>Here is my problem:
>?evaluate('Trans.cProduct_Line_Code between "100" and "200"')
>
>?evaluate('between(Trans.cProduct_Line_Code,"100","200")')
>
>In user's profile we have logic specified in the first form. In my code I'm attempting to check, if the current record in Trans satisfies the profile logic.
>
>How should I change my code to make sure it always work correctly? I wanted to avoid using Select SQL and just apply logic directly to the Trans file.
>
>Thanks a lot in advance.

Why EVALUATE()?
Why not direct test?
? between(Trans.cProduct_Line_Code,"100","200")
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