Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Citrix - VFP7 Not Behaving Properly
Message
From
30/11/2005 09:22:23
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
29/11/2005 21:57:04
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01072601
Message ID:
01073204
Views:
16
>Jim:
>
>The expression is not evaluating properly on terminal services. See below truth table:
>
>If .t. .and. .t. then it does what it is supposed to.
>
>If .f. .and. .t. will not be checked so I don't know.
>
>If .t. and .f. then it does what it is NOT supposed to do!
>
>The second part of the statement is always evaluated to .t. on a workstation when it is supposed to be. I suspect the .exe flipped a bit when copied to terminal services, but I am open to suggestions.

If you think there may be some oddball error when evaluating the logical expressions, try to break it into simpler expressions, assign the value of each to a variable, assign the final value to yet another variable... and log the whole thing:
lHoursIsN=std_hoursonly = 'N'
lPayEvent99=dcpay.payevent = '99'
lPayCode00=dcpay.paycode = '00'
lWholeThing= lHoursIsN and not (lPayEvent99 and lPayCode00)
* logging is left to reader as exercise :)
oLog.log(lHoursIsN, std_hoursonly, lPayEvent99, dcpay.payevent, lPayCode00, dcpay.paycode, lWholeThing)
if lWholething
* then do your thing

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform