Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox problem
Message
De
05/04/2000 18:34:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00355920
Message ID:
00355965
Vues:
29
Hi Guys,

>INSERT INTO employee (checkbx) value (IIF(EMPTY(.pf1.p3.chkdrstmt.value), .f., .t.))
>In this case you don't care what type the checkbox.value is.

Whenever IIF returns a .T. and an .F. (any any order, it can be obviously simplified (and its faster):

INSERT INTO employee (checkbx) value (not EMPTY(.pf1.p3.chkdrstmt.value))

And aside from the Setting value to .F. intially, you can also Bind it yo a logical field.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform