Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nothing + Something = Nothing?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Nothing + Something = Nothing?
Divers
Thread ID:
00033116
Message ID:
00033116
Vues:
70
When the following code runs in my program, if the value of tpd_payments_lte.diff_pay = nothing (empty), the value of tpd_payments_lte.earned will evaluate to nothing. If the diff_pay amount = 0, it works fine. Is VFP 5.0 supposed to work like this?

REPLACE tpd_payments_lte.earned WITH (tpd_payments_lte.hours_worked * ;
tpd_payments_lte.hourly_rate) + tpd_payments_lte.diff_pay
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform