Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF (pending =
Message
From
06/02/2004 05:38:44
 
 
To
06/02/2004 05:24:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00874751
Message ID:
00874753
Views:
20
>pending = 'I'
>actcod = '123456789'
>IF (pending = "I" .AND. actcod = SPACE(9))
> SELECT records.......
>ELSE
> SKIP
>ENDIF
>
>the condition is true but the else part execute. any idea....

actcod does not equal SPACE(9). actcod = '123456789'. Therefore, IF fails - ELSE executes.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform