Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution in WWC
Message
From
18/08/2001 14:26:30
 
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00545374
Message ID:
00545884
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform