Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change a value in a list_box
Message
 
 
À
27/03/2003 09:15:41
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00770729
Message ID:
00770732
Vues:
13
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform