Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution in WWC
Message
De
18/08/2001 14:26:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00545374
Message ID:
00545884
Vues:
17
>First off what's the value of gcCondition?
>
>Second, remember the whole thing is a string, so you can string concat everything...
>
>Macro evals don't work because the expression that you have there is already being evaluated. Macros don't work in Evaluates()... Actually it might but it will only do string replacement in which case an eval will do and that would work.
>
>My guess gcCondition is invalid and not evaling to the right value. Two levels of indirection is really not a good idea - there's almost always a better way to handle this like pre-evaluating that expression in your code...

gcCondition is INLIST(gnNoMember,1,2,3)

I replaced that call with IsCheckForSomething() where VFP returns .T. or .F.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform