Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a value in a list_box
Message
 
 
To
27/03/2003 09:15:41
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00770729
Message ID:
00770732
Views:
12
This message has been marked as the solution to the initial question of the thread.
select filed1, field2, ;
  IIF(field3=1, "VALIDATE  ", "INVALIDATE") AS cField3 ;
from table1
>Hi all,
>
>I have a list_box with 3 columns and X lines.
>I passed a sql command like :
> select filed1, field2, field3 from table1
>
>My question is :
>
>the value of field3 is only 0 or 1
>
>How can I change the value of field3 in the list_box (or in the sql command)
>to show VALIDATE, in the list_box, if field3 = 1 OR INVALIDATE if field3 = 0
>
>thx
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform